 |
|
Oracle Tips by Burleson |
Get Process Status
When you want to get a report on the current processes active
within the system, use the ps (process status) command. The ps
command accepts a large number of option; but the ones I find
most useful are the -e option (show all) and the -f option
(show full) entered as follows:
ps -ef
UID PID PPID C STIME TTY TIME CMD
terry 3696 18588 0 18:10 ? 00:00:01 gnome-session
terry 4054 1 0 18:10 ? 00:00:01 /usr/lib/gconfd-2 11
terry 8494 1 0 18:55 ? 00:00:13 kwrite
terry 4890 1 0 18:55 ? 00:00:00 kdeinit: Running...
terry 29590 1 0 18:55 ? 00:00:00 kdeinit: klauncher
terry 6513 1 0 18:55 ? 00:00:01 kdeinit: kded
terry 21234 1 21 20:55 ? 00:00:01 /usr/bin/gnome-terminal
terry 17263 21234 0 20:55 ? 00:00:00 [gnome-pty-helpe]
terry 14241 21234 2 20:55 pts/0 00:00:00 bash
terry 18504 14241 0 20:55 pts/0 00:00:00 ps -ef
Col
Heade
r
Description
1
UID
The user ID that owns the process
2
PID
The process ID for the task
3
PPID
The parent process. If the parent
is "1", the process was created by
root.
4
TIME
The current CPU time used by the
process.
5
CMD
The UNIX command that is being
executed
Table x: Columns in the ps -ef command
The above book excerpt is from:
Easy Linux
Commands
Working Examples of Linux Command Syntax
ISBN:
0-9759135-0-6
Terry Clark
http://www.rampant-books.com/book_2005_1_linux_commands.htm
|