getting the user from the httpd process
Hi,if i do a ps auxw and see the following line:
Code:
PID TTY STAT TIME COMMAND 11193 ? S 0:00 /usr/local/apache/bin/httpd -DSSL
I mean, if you know WHM, there is a "showcpuusage" function, which exactly does this, but i just don't know how it gets that kind of info.
Thanks,
Duncan