Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
User Commands (p - r) ps(1)
results in the following display:
SYSTEM_NAME
foxii
PROCESS BK CPU,PIN GPRI PFR %WT USERID PROGRAMFILE HOMETERM
3,76 150 P 001 255,255 /G/system/sys02/zexp /G/tl1/111
PROCESS_TIME GMOMJOBID SWAP_FILENAME EXTENDED_SWAP
0:0:0.041 0 /G/SYSTEM/#0121577 /G/system/#0121578
PROCESS_STATE CREATION_TIME
no messages, forced low, runnable March 26, 1993 16:16:34.408
8. The command:
ps -Wloaded /G/system/sys01/zcresrl
results in a display similar to the following:
PID
703594543
938475558
183500819
821035021
1055916036
988807201
9. The command:
ps -Wfiles 1055916036
results in a display similar to the following:
FILES
/bin/util/myprog (PROGRAM)
/usr/lib/mylib (DLL)
/G/SYSTEM/SYS01/zcresrl (SRL)
NOTES
The status of a system can change between the time ps polls a system for status and the time the
information is displayed on your terminal. Thus the ps command gives a snapshot of a system’s
status that may be out of date by the time it is displayed.
The COLUMNS variable overrides the system-selected horizontal screen size.
EXIT VALUES
The ps command returns the following values:
0 Completion was successful.
>0 An error occurred.
RELATED INFORMATION
Commands: kill(1), nice(1).
STANDARDS CONFORMANCE
The -W flags are HP extensions to the XPG4 Version 2 specification.
527188-021 Hewlett-Packard Company 7−45