Chapter 2
Fault Isolation
2-35
2.7.6
Using the
ps
Command
The
ps
command lists the status of processes. Using options and rearranging the
command output can assist in determining the resource allocation.
2.7.6.1
Options
describes options for the
ps
command and how those options can help
troubleshooting.
The following example shows output for one
ps
command.
Note –
When using
sort
with the
-r
option, the column headings are printed so
that the value in the first column is equal to zero.
TABLE 2-17
Options for
ps
Option
Description
How It Can Help
-e
Displays information for every
process.
Identifies the process ID and the executable.
-f
Generates a full listing.
Provides the following process information: user ID,
parent process ID, time when executed, and the path to
the executable.
-o
option
Enables configurable output. The
pid
,
pcpu
,
pmem
, and
comm
options
display process ID, percent CPU
consumption, percent memory
consumption, and the responsible
executable, 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 Enterprise M4000
Page 4: ......
Page 62: ...2 38 SPARC Enterprise M4000 M5000 Servers Service Manual December 2010 ...
Page 89: ...Chapter 5 Internal Components Access 5 7 FIGURE 5 4 Removing the M5000 Server Top Cover ...
Page 126: ...6 34 SPARC Enterprise M4000 M5000 Servers Service Manual December 2010 ...
Page 132: ...7 6 SPARC Enterprise M4000 M5000 Servers Service Manual December 2010 ...
Page 158: ...8 26 SPARC Enterprise M4000 M5000 Servers Service Manual December 2010 ...
Page 245: ...Chapter 14 Backplane Unit Replacement 14 11 FIGURE 14 4 Removing the M5000 Server Backplane ...
Page 248: ...14 14 SPARC Enterprise M4000 M5000 Servers Service Manual December 2010 ...
Page 256: ...15 8 SPARC Enterprise M4000 M5000 Servers Service Manual December 2010 ...
Page 288: ...E 6 SPARC Enterprise M4000 M5000 Servers Service Manual December 2010 ...
Page 304: ...F 16 SPARC Enterprise M4000 M5000 Servers Service Manual December 2010 ...
Page 308: ...G 4 SPARC Enterprise M4000 M5000 Servers Service Manual December 2010 ...