Chapter 3
Basic
Troubleshooting
3-29
3.3.7
prstat
Command
The
prstat
utility iteratively examines all active processes on the system and
reports statistics based on the selected output mode and sort order. The
prstat
command provides output similar to the
ps
command.
3.3.7.1
Options
prstat
command and how those options can
help troubleshoot the Sun Blade 1500 workstation.
TABLE
3-12
Options for
prstat
Option
Description
How It Can Help
No option
Displays a sorted list of the top
processes which 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. By default, list is
sorted by CPU consumption.
-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.
Summary of Contents for Sun Blade 1500
Page 16: ...xvi Sun Blade 1500 Service Diagnostics and Troubleshooting Manual December 2004...
Page 30: ...xxx Sun Blade 1500 Service Diagnostics and Troubleshooting Manual December 2004...
Page 40: ...xl Sun Blade 1500 Service Diagnostics and Troubleshooting Manual December 2004...
Page 186: ...8 22 Sun Blade 1500 Service Diagnostics and Troubleshooting Manual December 2004...
Page 360: ...13 62 Sun Blade 1500 Service Diagnostics and Troubleshooting Manual December 2004...
Page 412: ...A 4 Sun Blade 1500 Service Diagnostics and Troubleshooting Manual December 2004...
Page 432: ...B 20 Sun Blade 1500 Service Diagnostics and Troubleshooting Manual December 2004...
Page 472: ...C 40 Sun Blade 1500 Service Diagnostics and Troubleshooting Manual December 2004...
Page 500: ...Index 14 Sun Blade 1500 Service Diagnostics and Troubleshooting Manual December 2004...