On a linux box, with apache running as nobody, under httpd,
this oneliner reports all httpd pids that used more then
10 seconds of CPU time.

ps aux | sed -ne
's/^nobody[^0-9]*\([0-9]*\).*R.*:[123456789].*httpd.*/\1/p'

Tune to your needs and xargs ps -u to show them, or kill them from
cron...
-- 
Niels Poppe - org.net bv <[EMAIL PROTECTED]>
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to