Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
ps(1) OSS Shell and Utilities Reference Manual
ruser or runame (RUSER)
Real user ID of the process.
user or uname (USER)
Real user name of the process.
time The cumulative processor time of the process in the form [[dd-] hh: ] mm:ss.
tty The name of the controlling terminal of the process. If no controlling terminal is
present a question mark (?) is displayed.
vsz The size of the process in virtual memory in Kbytes, as a decimal integer.
EXAMPLES
1. To list all your processes, enter:
ps
2. To list all processes except kernel processes, enter:
ps -e
3. To list processes owned by specific users, enter:
ps -f -l -uos.jim,software.jane,super.super
4. To display only the pid, user, and comm information for all processes, enter:
ps -o pid,user,comm -e
5. The command:
ps -l
results in the following display:
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
011 8102 123456 318570500 1 - 106 - 1,27 - - tty 05:17 /bin/ps
6. The command:
ps -W name=/G/cmon -W node=kt22
results in the following display:
SYSTEM_NAME
\KT22
PROCESS BK CPU,PIN GPRI PFR %WT USERID PROGRAMFILE HOMETERM
/G/cmon 0,51 170 P 001 255,255 /G/system/cmon/cmon /G/osp
/G/cmon B 4,139 170 P 001 255,255 /G/system/cmon/cmon /G/osp
7. Each of the commands:
ps -W cpu=3 -W pin=76 -W detail
ps -W cpu=3, pin=76 -W detail
ps -W cpu=3, pin=76, detail
7−44 Hewlett-Packard Company 527188-004