Ps Command - Fujitsu Oracle M10-1 Service Manual

Hide thumbs Also See for Oracle M10-1:
Table of Contents

Advertisement

C.6

ps Command

The ps command displays a list of process statuses. When no options are specified,
the command outputs information on those processes that have the same execution
user ID as the user executing the command and the same control terminal.
If you specify an option, output information is controlled by the option.
Table C-6
troubleshooting.
Table C-6     ps command options
Option
-e
-f
-o option
The following example shows the output from the ps command.
# 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
lists the options of the ps command and how those options are useful for
Description
Displays information on various
processes.
Generates a complete list.
Selects any items from those that
can be configured as outputs. The
pid, pcpu, pmem, and comm
options display the process ID, CPU
usage, memory usage, and
corresponding executable files,
respectively.
Appendix C Oracle Solaris Troubleshooting Commands
Application
Allows you to view the process IDs
and files that can be executed.
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.
Allows you to check only the most
important information. By
determining the resource usage
rate, you can identify those
processes that could potentially
affect system performance or even
cause a hang up.
231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Oracle sparc m10-1

Table of Contents