More Technical Help

Monday, January 31, 2011

Apache connections

Below command will display the no of connections form a certain ip

netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort –n

If the server is overloaded then its a very useful command to check if httpd causing the load.

0 comments:

Post a Comment