Tuesday, August 11, 2009

Apache Connections

1.
#this will tell you how many connections each domain has
2.

3.
lynx --dump --width=260 localhost/whm-server-status | grep "^ [0-9]" | awk '{print $12}' | grep -i ^[a-z] | sort | uniq -c | sort -nk1
4.

5.
#this will tell you how many connections each IP Address has
6.

7.
lynx --dump --width=260 localhost/whm-server-status | grep "^ [0-9]" | awk '{print $11}' | grep ^[0-9] | sort | uniq -c | sort -nk1

Download

wget https://scripts.dimenoc.com/files/Apache_Connections_242.sh --no-check-certificate

sh Apache_Connections_242.sh

No comments:

Post a Comment