======Managing Jobs======
=====General Job Management=====
Once you have a job running, you might want to change its priority or stop it. To check on the list of running jobs, use the command htop
You can also see all running jobs statically with
ps -aef
This prints a very large number of jobs, so you might prefer to filter the output. You can do this with the command [[http://en.wikipedia.org/wiki/Grep|grep]]:
ps -aef | grep
Each line represents a single process. The leftmost column is the process id, and the second leftmost column is the user that owns a process. You can filter the list of processes by username. Type 'u' and then your username and then enter. All of your processes should show up.
To stop a process, note the process id number on the left hand side when using top. Type 'k', and then the process id, and then press enter.
Alternatively, press 'q' to stop top. Then, type use the kill
command.
kill
======Renice-ing=====
You can change how many CPU cycles are given to your job by using the command renice
. Once you know the process id, you can use the command:
renice -n -p
to change the niceness of your process. If you are running a computationally intensive job, please set your job to a high niceness level, so that you don't monopolize cluster resources :)