2-48 SPARC Enterprise M8000/M9000 Servers Service Manual • October 2012
The following example shows output for one ps command.
Note – When using sort with the -r option, the column headings are printed so that the
value in the first column is equal to zero.
2.9.7 prstat Command
The prstat utility iteratively examines all active processes and reports statistics based on the
selected output mode and sort order. The prstat command provides output similar to the
ps command.
# ps -eo pcpu,pid,comm|sort -rn
1.4 100317 /usr/openwin/bin/Xsun
0.9 100460 dtwm
0.1 100677 ps
0.1 100600 ksh
0.1 100591 /usr/dt/bin/dtterm
0.1 100462 /usr/dt/bin/sdtperfmeter
0.1 100333 mibiisa
%CPU PID COMMAND
0.0 100652 /bin/csh
. . .