Options; Using The Ps Command - Fujitsu SPARC ENTERPRISE M4000 Service Manual

Fujitsu computer hardware user manual
Hide thumbs Also See for SPARC ENTERPRISE M4000:
Table of Contents

Advertisement

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

TABLE 2-17
troubleshooting.
Options for
TABLE 2-17
Option
Description
Displays information for every
-e
process.
Generates a full listing.
-f
option
Enables configurable output. The
-o
pcpu
,
pmem
display process ID, percent CPU
consumption, percent memory
consumption, and the responsible
executable, respectively.
The following example shows output for one ps command.
# ps
101042 pts/3
101025 pts/3
#
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.
describes options for the ps command and how those options can help
ps
pid
, and
comm
options
PID TTY
0:00 ps
0:00 sh
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.
TIME CMD
Chapter 2
Fault Isolation
2-35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sparc enterprise m5000

Table of Contents