List and kill at jobs on UNIX List and kill at jobs on UNIX unix unix

List and kill at jobs on UNIX


You should be able to find your command with a ps variant like:

ps -efps -fubob # if your job's user ID is bob.

Then, once located, it should be a simple matter to use kill to kill the process (permissions permitting).

If you're talking about getting rid of jobs in the at queue (that aren't running yet), you can use atq to list them and atrm to get rid of them.


To delete a job which has not yet run, you need the atrm command. You can use atq command to get its number in the at list.

To kill a job which has already started to run, you'll need to grep for it using:

ps -eaf | grep <command name>

and then use kill to stop it.

A quicker way to do this on most systems is:

pkill <command name>


at -l to list jobs, which gives return like this:

age2%> at -l11      2014-10-21 10:11 a hoppent10      2014-10-19 13:28 a hoppent

atrm 10 kills job 10

Or so my sysadmin told me, and it