Sun Microsystems Blade 1500 Service, Diagnostics, And Troubleshooting Manual page 82

Table of Contents

Advertisement

3.3.6.2
Examples
The following examples show output for the ps command and its options.
#
ps -ef
UID
PID
root
0
root
1
root
2
root
3
root 100311
. . .
#
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
. . .
#
ps -eo pmem,pid,comm|sort -rn
14.2 100317 /usr/openwin/bin/Xsun
4.4 100524 /net/dickens/fmsgml60/bin/sunxm.s5.sparc/makersgml
1.8 100460 dtwm
1.1 100591 /usr/dt/bin/dtterm
1.0 100650 /usr/dt/bin/dtterm
1.0 100494 /usr/dt/bin/dtterm
1.0 100462 /usr/dt/bin/sdtperfmeter
1.0 100453 /usr/dt/bin/dtsession
0.8 100452 /usr/dt/bin/ttsession
. . .
Note –
where the value in the first column is equal to zero.
3-28
Sun Blade 1500 Service, Diagnostics, and Troubleshooting Manual • December 2004
PPID
C
STIME TTY
0
0 10:06:30 ?
0
0 10:06:32 ?
0
0 10:06:32 ?
0
0 10:06:32 ?
1
0 10:06:50 ?
PID COMMAND
When using
with the
sort
TIME CMD
0:18 sched
0:00 /etc/init -
0:00 pageout
0:00 fsflush
0:00 /usr/lib/saf/sac -t 300
option, the column headings are printed at the point
-r

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents