Chapter 3
Troubleshooting
3-27
3.6.6.1
Options
lists the options of the
ps
command and how those options can help
troubleshooting.
The following example shows output for the
ps
command:
When using sort with the
-r
option, the column headings are output so that the
value in the first column is equal to zero.
3.6.7
Using the
prstat
Command
The
prstat
utility repeatedly examines all the active processes in the system and
reports statistics based on the selected output mode and sort order. The
prstat
command provides output similar to the
ps
command.
TABLE 3-11
Options for
ps
Option
Description
How it can help
-e
Displays information for every process.
Identifies the process ID and the executable
files.
-f
Generates a full listing.
Provides the following process information:
user ID, parent process ID, time when
executed, and the paths to the executable files.
-o
option
Enables configurable output. The pid, pcpu,
pmem, and comm options display process ID,
percent CPU consumption, percent memory
consumption, and the relevant executable file,
respectively.
Provides only most important information.
Knowing the percentage of resource
consumption helps identify processes that are
affecting performance and might be hung.
#
ps
PID TTY TIME CMD
101042 pts/3 0:00 ps
101025 pts/3 0:00 sh
#
Summary of Contents for SPARC Series
Page 4: ......
Page 12: ...xii SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 22: ...1 6 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 102: ...6 10 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 108: ...7 6 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 114: ...8 6 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 120: ...9 6 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 132: ...11 6 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 138: ...12 6 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 144: ...13 6 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 152: ...14 8 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 158: ...15 6 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 162: ...A 4 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 168: ...B 6 SPARC Enterprise M3000 Server Service Manual January 2009 ...
Page 188: ...E 8 SPARC Enterprise M3000 Server Service Manual January 2009 ...