Listing all scheduled processes (at or atq command)

Use the -l flag with the at command or with the atq command to list all scheduled processes.

Both commands give the same output; however, the atq command can order the processes in the same amount of time that the at command is issued and displays only the number of processes in the queue.
You can list all scheduled processes in the following ways:
  • With the at command from the command line
  • With the atq command
at command
To list the scheduled processes, type the following:
at -l

This command lists all the scheduled processes in your queue. If you are a root user, this command lists all the scheduled processes for all users. For complete details of the syntax, see the at command.

atq command
See the following examples on how to use the atq command:
  • To list all scheduled processes in the queue, type the following:
    atq
  • If you are a root user, you can list the scheduled processes in a particular user's queue by typing:
    atq UserName
  • To list the number of scheduled processes in the queue, type the following:
    atq -n