Jobs are sometimes run out of control or submitted by mistake. These can be removed simply using either top or ps.
- Start top with
top -u username
where username is replaced by your username. To kill a job
- You should see a prompt saying 'PID to kill'
- Enter the PID (Process IDentifier) of the job you want to kill. This is the number in the first field.
Confirm with y when you see the message 'Kill PID xxxx with signal :'. Your job should disappear.
- Enter q to quit top.
Use ps to find out out what jobs you are running
ps -u username
kill -9 PID
where PID is the process idenfier - the number is in the second field.