Prstat Command; Table 3-12 Options For Prstat - Sun Microsystems Blade 1500 Service, Diagnostics, And Troubleshooting Manual

Table of Contents

Advertisement

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
TABLE 3-12
help troubleshoot the Sun Blade 1500 workstation.
Options for
TABLE 3-12
Option
Description
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.
-n
number
Limits output to number of
lines.
key
Permits sorting list by key
-s
parameter.
Verbose mode.
-v
describes options for the prstat command and how those options can
prstat
How It Can Help
Output identifies process ID, user ID, memory used, state,
CPU consumption, and command name. By default, list is
sorted by CPU consumption.
Limits amount of data displayed and identifies primary
resource consumers.
Useful keys are
(default),
cpu
Displays additional parameters.
Chapter 3 Basic Troubleshooting
, and
.
time
size
3-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents