Table C-7 prstat(1M) command options
Option
No options
-n number
-s key
-v
The following example shows the prstat(1M) command output.
# prstat -n 5 -s size
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
497 root 55M 49M sleep 59 0 0:01:12 0.0% fmd/37
600 root 41M 36M sleep 59 0 0:09:13 0.0% ldmd/13
11 root 37M 33M sleep 59 0 0:00:17 0.0% svc.startd/12
468 root 24M 12M sleep 59 0 0:00:00 0.0% inetd/4
13 root 20M 19M sleep 59 0 0:00:37 0.0% svc.configd/24
Total: 49 processes, 669 lwps, load averages: 0.05, 0.05, 0.04
#
Fujitsu M10-4/Fujitsu M10-4S/SPARC M10-4/SPARC M10-4S Service Manual ・ November 2014
322
Description
Displays a list of processes sorted in
descending order of CPU resource
consumption. The list is restricted
by the height of the terminal
window and the number of
processes. The output is automatically
updated every 5 seconds, and is
stopped by pressing the [Ctrl] + [C]
keys.
Restricts the number of lines in the
output.
Sorts the list by key parameter.
Displays the information in detailed
mode.
Application
The output allows you to view
process IDs, the User IDs, memory
usage, status, CPU usage, and
command names.
Limits the amount of displayed
data, so that you can identify those
processes that are consuming
excessive amounts of resources.
The list can be sorted by cpu
(default), time, and size.
Allows you to view other
parameters.