B-18 SPARC Enterprise M4000/M5000 Servers Installation Guide • December 2010
The following example shows output for the ping -s command.
B.3.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.

B.3.6.1 Options

TABLEB-8 describes options for the ps command and how those options can help
troubleshooting.
The following example shows output for one ps command.
# ping -s san-ff2-17-a
PING san-ff2-17-a: 56 data bytes
64 bytes from san-ff2-17-a (10.1.67.31): icmp_seq=0. time=0.427 ms
64 bytes from san-ff2-17-a (10.1.67.31): icmp_seq=1. time=0.194 ms
^C
----san-ff2-17-a PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max/stddev = 0.172/0.256/0.427/0.102
#
TABLEB-8 Options for ps
Option Description HowIt Can Help
-e Displays information for every
process.
Identifiesthe process ID and the executable.
-f Generates a full listing. Providesthe followingprocess information: user ID,
parentprocess ID, time when executed, and the path to
the executable.
-o option Enables configurableoutput.
The pid,pcpu,pmem, and
comm options display process
ID, percentCPU consumption,
percentmemory consumption,
and the responsible executable,
respectively.
Providesonly most importantinformation. Knowing the
percentageof resource consumption helps identify
processesthat are affecting performance and might be
hung.