Fujitsu M8000 Server User Manual


 
Chapter 2 System Overview and Troubleshooting 2-49
2.9.7.1 Options
TABLE 2-19 describes options for the prstat command and how those options can help
troubleshooting.
The following example shows output for the prstat command.
TABLE 2-19 Options for prstat
Option Description How It Can Help
No option Displays a sorted list of the top processes that are consuming the
most CPU resources. List is limited to the height of the terminal
window and the total number of processes. Output is automatically
updated every five seconds. Ctrl-C aborts.
Output identifies process ID, user ID,
memory used, state, CPU
consumption, and command name.
-n number Limits output to number of lines. Limits amount of data displayed and
identifies primary resource
consumers.
-s key Permits sorting list by key parameter. Useful keys are cpu (default), time,
and size.
-v Verbose mode. Displays additional parameters.
# prstat -n 5 -s size
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
100524 mm39236 28M 21M sleep 48 0 0:00.26 0.3% maker6X.exe/1
100317 root 28M 69M sleep 59 0 0:00.26 0.7% Xsun/1
100460 mm39236 11M 8760K sleep 59 0 0:00.03 0.0% dtwm/8
100453 mm39236 8664K 4928K sleep 48 0 0:00.00 0.0% dtsession/4
100591 mm39236 7616K 5448K sleep 49 0 0:00.02 0.1% dtterm/1
Total: 65 processes, 159 lwps, load averages: 0.03, 0.02, 0.04