Syphic
08-15-2009, 04:07 PM
Anyone know of a script which will show which files are running at the moment on apache? I figure apache has that feature and I have seen it in cpanel just happen to not be able to find one. I am needing to know what scripts are eating up memory and ram.
Syphic
08-15-2009, 05:16 PM
It would also be nice to be able kill a script after I made it run if it is taking too long.
Stacie
08-22-2009, 05:10 PM
It would also be nice to be able kill a script after I made it run if it is taking too long.
In PHP:
system('/bin/ps -aux |grep -i "http"|grep -v "grep"');
, and in command prompt:
/bin/ps -aux |grep -i "http"|grep -v "grep"