Hello All,
I wanna find the CPU utilization of a specific process running on AIX OS. I have its pid, but not sure about the command.
iostat
sar 5 5
vmstat
All the above give me system CPU utilization. Is there a way to find for a specific pid???
Thanks,
Ankita
Hi,
WLM or work load manager might be the right tool you're looking for, did not really remember the few steps to set it up but just google for it, its worth a try ...
Thanks!
But I cannot make admin changes in this box, as this is one my company's customer env.. I can use commands only and cant get extra tools uploaded on this:(
try using top command. it works on SunOS
top doesnt work on AIX
as its AIX 5.0 sar is also not working
i did
ps -ef | grep <process name> and it doesnt give me CPU % utilized by that process
Have you tried other options? Check the man page for more options.
Regards
Use the following:
ps -eo pcpu,%mem,cmd |grep process_name
-0 option gives you the option to specify user defined options
pcpu -> cpu utilization
%mem -> memory utilization
Thanks,
Vinod.
You may try this
ps auxwww | grep <your_pid>
if you have bos.perf.tools installed, than you might be able to use
topas.