Sir,
I am working in php. I have create cPanel plugin.
I want all httpd processes of current login user.
Using unix command ps -eo pcpu,pid,user,tt,cputime,cmd | sort -k 1 -r | head -4
it give me following output.
%CPU PID USER TT TIME CMD
6.3 32688 jholco ? 00:00:00 /usr/local/cpanel/cpanel ./frontend/x3/trafficadvisor/advisor.php
2.5 32689 jholco ? 00:00:00 /usr/bin/php-cgi /tmp/cpanel_phpengine.1253799704.32688sbJWiNnKYr
0.1 32495 jholco ? 00:00:00 [cpsrvd-ssl]
I want to display all processes of current user.
At the same time advisor1.php, advisor2.php, advisor3.php pages also runing.
But it is showing me only one advisor.php using this command.
How can i display all .php file runing.
Please tell me.
Thanks,



LinkBack URL
About LinkBacks
Reply With Quote





