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
bjobs | cut -d' ' -f1 | grep 63* | xargs bkill kill multiple jobs (id's starting with '63', e.g.) through queueing system (using bjobs in this case)
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


next up previous
Next: Working with the shell Up: Linux/UNIX Previous: Getting information
Chris Paciorek 2012-01-21