Process and Resource Management
Job control
|
Run the specified command in the background. |
|
Stop foreground process. |
|
List background processes. |
|
Resume the specified job in the foreground/background. |
|
job defaults to the stopped foreground job. |
|
Suspend an |
ps |
|
AIX, FreeBSD, Linux |
|
|
Solaris |
|
|
System V version: HP-UX |
Display the detailed process list. The al
option to the first two commands produces a different listing, which displays the process priority and nice number.
ps output columns
USER
(HP-UX: UID
)
Username of the process owner
PID
Process ID
%CPU
Estimated fraction of CPU consumed (FreeBSD); CPU time/elapsed time (AIX, Solaris, Linux).
%MEM
Estimated fraction of consumed system memory
SZ
Virtual memory used, in KB (HP-UX: pages)
RSS
Physical memory used, in KB
TT
(HP-UX: TTY
)
TTY associated with the process
STAT
(HP-UX: S
)
Current process state flag(s):
|
Running or runnable |
|
Sleeping |
|
Idle (HP-UX: intermediate state) |
|
Stopped |
|
Zombie process |
|
Disk wait (not HP-UX) |
|
Growing: waiting for memory (HP-UX) |
|
Available ... |
Get Essential System Administration Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.