You can get
even more information from the ps
command by modifying it with options:
The ps
-a command prints information about all the processes most
that are frequently requested by the user:
$ ps -a
| PID
|
TTY |
TIME |
CMD |
| 10153 |
console |
0:03 |
cm |
| 12892 |
console |
0:01 |
sh |
| 217 |
term/a
|
0:02 |
/usr/lib/lpsched |
| 12932 |
pts/0 |
0:01 |
/bin/sh |
| 13162 |
pts/7
|
0:08 |
admintool |
| 10138
|
console |
0:04 |
clock |
| 10159 |
console |
7:29 |
mailtool |
| 10140 |
pts/1 |
0:05 |
cmdtool |
| 10151 |
console |
12:42 |
xnews |
| 10614
|
pts/1 |
0:00 |
ps
-a |
| 10109
|
console |
0:00 |
xinit |
| $ |
|
|
|
The ps
-e command prints information about every process now running.
The ps
-f command generates a full listing of processes and includes
headings for each column.
$ ps
-ef
|
UID
|
PID
|
PPID
|
C
|
STIME
|
TTY
|
TIME
|
CMD
|
| root |
0 |
0 |
80 |
Jul 18 |
? |
0:04 |
sched |
| root |
1 |
0 |
80 |
Jul 18 |
? |
2:52 |
/etc/init - |
| root |
2 |
0 |
80 |
Jul 18 |
? |
0:01 |
pageout |
| root |
3 |
0 |
80 |
Jul 18 |
? |
21:40 |
fsflush |
| root |
80 |
1 |
80 |
Jul 18 |
? |
0:03 |
/usr/lib/saf |