CS155 Processes
&
, fg
, bg
, kill
)
but, these days, we usually just create another terminal window.
% ps PID TTY TIME CMD 2699609 ? 00:00:00 php-cgi 2699610 ? 00:00:00 bash 2699612 ? 00:00:00 ps % ps -H PID TTY TIME CMD 2699609 ? 00:00:00 php-cgi 2699610 ? 00:00:00 bash 2699614 ? 00:00:00 ps % ps -Hf UID PID PPID C STIME TTY TIME CMD cs155 2699609 3543675 0 15:36 ? 00:00:00 /usr/bin/php-cgi cs155 2699610 2699609 0 15:36 ? 00:00:00 bash /tmp/pmwiki-bash-scriptSrUPD3 cs155 2699616 2699610 0 15:36 ? 00:00:00 ps -Hf
ps
– list my running processes
-f
: give more information
-e
: list processes for everyone, not just this terminal
-H
: hierarchical (indented) output
nice
can be used to change the priority of your process.
nice my_prog