Fujitsu M10-4 Server User Manual


 
Table C-6
ps(1M) command options
Option Description Application
-e Displays information on various
processes.
Allows you to view the process IDs
and files that can be executed.
-f Generates a complete list. Allows you to view process
information such as the user ID, the
parent process ID, the execution
time, and the paths to the executed
files.
-o option Selects any items from those that
can be configured as outputs.
Options of pid, pcpu, pmem, and
comm display the process ID, CPU
usage, memory usage, and the
corresponding executable files,
respectively.
Allows you to check only the most
important information. By knowing
the resource usage rate, you can
identify processes that potentially
affect the system performance and
cause hang ups.
#
ps -eo pcpu,pid,comm|sort -rn
%CPU PID COMMAND
0.0 674 sort
0.0 673 ps
0.0 637 -bash
0.0 636 login
0.0 634 /usr/sbin/in.telnetd
0.0 629 -bash
0.0 613 /usr/bin/login
0.0 602 /usr/lib/devchassis/devchassisd
0.0 600 /opt/SUNWldm/bin/ldmd
0.0 581 /usr/lib/inet/in.ndpd
0.0 580 /sbin/dhcpagent
0.0 577 /usr/lib/rmvolmgr
0.0 548 /usr/sbin/auditd
0.0 519 /usr/sbin/syslogd
0.0 508 /usr/lib/ssh/sshd
0.0 497 /usr/lib/fm/fmd/fmd
0.0 487 /usr/lib/hal/hald-addon-cpufreq
0.0 472 /usr/lib/autofs/automountd
C.6 ps(1) Command
The ps(1) command displays a list of process statuses. When no options are specified,
the command displays information of processes that have the same execution user ID
as the executing user and the same control terminal.
If you specify an option, output information is controlled by the option.
Table C-6 lists the options of the ps(1M) command and how those options are useful
for troubleshooting.
The following example shows the ps(1M) command output.
Fujitsu M10-4/Fujitsu M10-4S/SPARC M10-4/SPARC M10-4S Service Manual
December 2013488