Peeking at the processes

This example uses two parameters, the -e parameter, which shows all of the processes running on the system, and the -f parameter, which expands the output to show a few useful columns of information:

UID: The user responsible for launching the process
PID: The process ID of the process
PPID: The PID of the parent process (if a process is started by another process)
C: Processor utilization over the lifetime of the process
STIME: The system time when the process started
TTY: The terminal device from which the process was launched

root@dell:/etc# ps -ef |less |head -n 1
UID PID PPID C STIME TTY TIME CMD
root@dell:/etc# ps -ef |less |grep -i terminal
jyothis 3889 3271 0 08:49 ? 00:00:07 xfce4-terminal
root 4261 3996 0 09:42 pts/0 00:00:00 grep -i terminal

TIME: The cumulative CPU time required to run the process
CMD: The name of the program that was started

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.