Skip to main content

Commands for managing jobs

Jobs are placed into a job queue and run in the background when resources are available. If a job is consuming too many cluster resources, you can stop it or pause it until there is less demand on the cluster. You can also monitor and restart jobs.

When you enter a command that invokes a job, typically, the command informs you that the job has been queued and then returns to the CLI command prompt. However, some commands instead report job progress and do not return to the CLI command prompt until the job has been completed. In these cases, you can press Ctrl-C to move the job to the background.

If you want to...Use this command...
Display information about all jobsjob show
Display information about jobs on a per-node basisjob show bynode
Display information about cluster-affiliated jobsjob show-cluster
Display information about completed jobsjob show-completed
Display information about job historyjob history show

Up to 25,000 job records are stored for each node in the cluster. Consequently, attempting to display the full job history could take a long time. To avoid potentially long wait times, you should display jobs by node, storage virtual machine (SVM), or record ID.

Display the list of private jobsjob private show

(advanced privilege level)

Display information about completed private jobsjob private show-completed

(advanced privilege level)

Display information about the initialization state for job managersjob initstate show

(advanced privilege level)

Monitor the progress of a jobjob watch-progress
Monitor the progress of a private jobjob private watch-progress

(advanced privilege level)

Pause a jobjob pause
Pause a private jobjob private pause

(advanced privilege level)

Resume a paused jobjob resume
Resume a paused private jobjob private resume

(advanced privilege level)

Stop a jobjob stop
Stop a private jobjob private stop

(advanced privilege level)

Delete a jobjob delete
Delete a private jobjob private delete

(advanced privilege level)

Disassociate a cluster-affiliated job with an unavailable node that owns it, so that another node can take ownership of that jobjob unclaim

(advanced privilege level)

Note
You can use the event log show command to determine the outcome of a completed job.