Ps Command; Options - Fujitsu SPARC ENTERPRISE M9000 Service Manual

Fujitsu server user manual
Hide thumbs Also See for SPARC ENTERPRISE M9000:
Table of Contents

Advertisement

2.9.6

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.9.6.1

Options

TABLE 2-18
troubleshooting.
Options for ps
TABLE 2-18
Option
Description
Displays information for every process.
-e
Generates a full listing.
-f
-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.
The following example shows output for one ps command.
# ps -eo pcpu,pid,comm|sort -rn
1.4 100317 /usr/openwin/bin/Xsun
0.9 100460 dtwm
0.1 100677 ps
0.1 100600 ksh
0.1 100591 /usr/dt/bin/dtterm
0.1 100462 /usr/dt/bin/sdtperfmeter
0.1 100333 mibiisa
%CPU
0.0 100652 /bin/csh
. . .
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.
2-46
SPARC Enterprise M8000/M9000 Servers Service Manual • June 2010
describes options for the ps command and how those options can help
PID COMMAND
How It Can Help
Identifies the process ID and the
executable.
Provides the following process
information: user ID, parent
process ID, time when executed,
and the path to the executable.
Provides only most important
information. Knowing the
percentage of resource
consumption helps identify
processes that are affecting
performance and might be hung.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sparc enterprise m8000

Table of Contents