Question: I have created a job with the `at` command on Solaris 10.

It's working now but I want to kill it but I don't know how I can find the job number and how to kill that job or process.

Answer: 
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>

```
First

```
ps -ef

```

to list all processes. Note the the process number of the one you want to kill. Then

```
kill 1234

```

were you replace 1234 with the process number that you want.

Alternatively, if you are absolutely certain that there is only one process with a particular name, or you want to kill multiple processes which share the same name

```
killall processname

```