Finding your processes |
|
% jobs
The job numbers will be shown in square brackets ([]), followed
by the notation ``Stopped'' (for suspended jobs) or ``Running''
(for jobs that are still executing).
% ps -gx
Here is an example of output from this command:
PID TT STAT TIME COMMAND
12030 p5 S 0:01 -csh (csh)
12068 p5 T 1:46 emacs foo
12788 p5 R 0:00 ps -gx
The first column is the process ID. The second column tells what
terminal is controlling it (in this case, ttyp5).
Next comes the current status (S for sleeping, T for stopped,
R for running). The next column tells how much time it has spent.