How to check job status?

The command squeue checks the job’s status.

To check a job by job id:

squeue -j JOBID

To check all jobs of a user:

squeue -u USERNAME