next up previous
Next: Working with the shell Up: Linux/UNIX Previous: Getting information

Job control and information

nice -n k foo runs foo at priority 20+k
renice +k pid changes priority for pid after it has started (pid is the process id, obtainable from top)
kill pid kills pid
kill -9 pid really kills pid
killall cmd kills all jobs of type cmd, e.g., R.bin
vmstat 5 5 checks performance, including paging/swapping (see swap columns in output); w column should be zero
top checks on jobs
mtop check on jobs in mosix setup
bg put job in background
fg move job to foreground
CTRL-Z suspend foreground job
ps -aux shows processes with cpu/memory usage
ps -aux | grep username returns only username's processes



Chris Paciorek 2006-04-02