Skip to content

How to identify high load apache processes

by admin on March 3rd, 2009

just paste to shell (cpanel server):

ps -axo “%C %p” |sort -nr |head -5 |while read i p; do echo -n $i; /usr/local/apache/bin/apachectl fullstatus |grep -A 1 $p; done

there is also a python script for that : apache-top.py . you can donwload it from: http://www.fr3nd.net/projects/apache-top/. it’s a nice tool but still need some customization.

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS