9/04/2012

HP-UX Process Monitoring PS command

HP-UX Process Monitoring

ps -ef is a well command to monitor process running in HP-UX. The -e option selects all processes, and the -f option sets the output format.
# ps -ef
UID  PID PPID C  STIME  TTY   TIME COMD
root   0 0    80 Jan 12 ?     0:04 init.rc0
root  22 1    0  Jan 12 ?     0:01 etc/rbind
root  34 222  2  Jan 12 ?     0:03 /usr/lib/sendmail-bd
root  78 4455 11 Jan 12 ?     0:02 /share/bin/man
root  89 8768 32 Jan 12 pts/3 0:02 ps
root  99 9798 0  Jan 12 pts/3 0:01 ps-ef

Additional note:
UID - Username of the owner
PID - Process ID
PPID - PID of the parent process
C - CPU use/scheduling info
STIME - Time the process was started
TTY - Control terminal
TIME - CPU time consumed
COMD - Command and arguments

No comments:

Post a Comment

Popular Posts