7. Using Monitoring and Tracing Tools : Operating System Utilities : UNIX Operating System Utilities : ps
 
Share this page                  
ps
This command provides virtual memory and cpu information on each active process submitted from your account. Here is a sample ps output:
PID   TT  STAT  TIME  SL  RE  PAGEIN  SIZE   RSS   LIM   %CPU   %MEM   COMMAND
xx06  p3   s   28:50  13  99   45886  3696   2856   xx    0.0   39.3   iidbms
xx94  p3   s    4:24   0  99    2899   720    344   xx    0.0    4.7   dmfrcp
xx09  p3   I    0.51  99  99    4488     4    184   xx    0.0    2.5   iislave
xx19  p3   I    0.57  99  99    5764    64     17   xx    0.0    2.4   iislave
xx96  p3   I    0.04  99  99    1852   696    160   xx    0.0    2.2   dmfacp
The display fields are as follows:
Field
Description
PID
Process ID field
TT
Controlling terminal
STAT
Process status
Runnability of the process: Runnable (r), Stopped (t), Disk or other short-term wait (d), Sleeping (s), or Idle (i)
Swap status: Swapped out (w) or Loaded in core (blank)
Process priority change: Reduced (n), Increased (>) or No change (blank)
SL
Sleep time (seconds blocked)
RE
Residency time (seconds in core)
PAGEIN
Number of disk I/Os resulting from page references not in core
SIZE
Virtual process size
RSS
Resident set size
LIM
Soft memory limit (setrlimit), else “xx”
%CPU
CPU utilization (1 minute decaying average)
%MEM
Memory utilization
COMMAND
Process name