cpu usage process bind
am 19.09.2007 11:08:10 von jagpreetHi There,
I have written a script which shows the status of the running
application.
shows mem usage, cpu no. , pid etc.
used ps -efl to get that information.
ps -efl |grep $MY_PROCESS |grep -v "grep" | awk '{printf("%9s %19s
%18s %11s",$6,$4,$12,$10)}'
I want to add CPU usage as well for each process of that application.
But thats option is not available in HP-UX.(ps -efo which I find on
net after googling)
can I use something else(like top, again googling).
But top is not helping me much for the same.
what are the options I can use.
Further, is there a way to know the processors(cpu#) available on
perticular server. and is there a way to distribute the processes
among them.(pbind is not available in HP-UX).
regards
Jagpreet