DOKK / manpages / debian 12 / slurm-wlm-torque / qstat.1.en
QSTAT(1) User Contributed Perl Documentation QSTAT(1)

qstat - display job/partition information in a familiar pbs format

qstat [-f] [-a|-i|-r] [-n [-1]] [-G|-M] [-u user_list] [-? | --help] [--man] [job_id...]

qstat -Q [-f]

qstat -q

The qstat command displays information about jobs.

Displays all jobs in a single-line format. See the STANDARD OUTPUT section for format details.
Displays information about idle jobs. This includes jobs which are queued or held.
Displays the full information for each selected job in a multi-line format. See the STANDARD OUTPUT section for format details.
Display size information in gigabytes.
Show size information, disk or memory in mega-words. A word is considered to be 8 bytes.
Displays nodes allocated to a job in addition to the basic information.
-1
In combination with -n, the -1 option puts all of the nodes on the same line as the job id.
Displays information about running jobs. This includes jobs which are running or suspended.
Display job information for all jobs owned by the specified user(s). The format of user_list is: user_name[,user_name...].
-? | --help
brief help message
full documentation

Displaying Job Status

If the -a, -i, -f, -r, -u, -n, -G, and -M options are not specified, the brief single-line display format is used. The following items are displayed on a single line, in the specified order, separated by white space:

C - Job is completed after having run E - Job is exiting after having run. H - Job is held. Q - job is queued, eligible to run or routed. R - job is running. T - job is being moved to new location. W - job is waiting for its execution time (-a option) to be reached. S - job is suspended.

If the -f option is specified, the multi-line display format is used. The output for each job consists of the header line: Job Id: job identifier followed by one line per job attribute of the form: attribute_name = value

If any of the options -a, -i, -r, -u, -n, -G or -M are specified, the normal single-line display format is used. The following items are displayed on a single line, in the specified order, separated by white space:

On success, qstat will exit with a value of zero. On failure, qstat will exit with a value greater than zero.

2023-12-25 perl v5.36.0