Results 1 to 2 of 2
Hello,
Is there any program which gets the CPU and memory of a process ?
Thank you....
- 08-23-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
Getting the CPU & (Virtual) Memory of a process
Hello,
Is there any program which gets the CPU and memory of a process ?
Thank you.
- 08-23-2010 #2Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
Solved in php.
PHP Code:"top -n 1 -b | grep ". $pid ."| awk '{print $". $getInfo ."}'"


Reply With Quote