LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

qstat

Display batch job queue status

TLDR

Show all jobs
$ qstat
copy
Show user's jobs
$ qstat -u [username]
copy
Show full job details
$ qstat -f [job_id]
copy
Show queue status
$ qstat -Q
copy
Show running jobs
$ qstat -r
copy

SYNOPSIS

qstat [options] [jobids_...]

DESCRIPTION

qstat displays the status of batch jobs in PBS/Torque, SGE, or similar job scheduling systems. It shows job state, queue, resources, and timing information.

PARAMETERS

-f

Full job information.
-u user
Jobs for specific user.
-Q
Queue status.
-q
Queue summary.
-r
Running jobs only.
-n
Show nodes.
-a
All jobs.

EXAMPLES

$ # All jobs
qstat

# My jobs
qstat -u $USER

# Job details
qstat -f 12345

# Queue status
qstat -Q

# Jobs with nodes
qstat -n

# All jobs, all users
qstat -a
copy

OUTPUT FORMAT

$ Job ID    Name       User     Time  S  Queue
--------- ---------- -------- ----- -  -----
12345.srv myjob      user01   02:30 R  batch
12346.srv analysis   user01   --    Q  batch
copy

JOB STATES

$ Q - Queued
R - Running
H - Held
E - Exiting
C - Completed
copy

INSTALL

sudo apt install gridengine-client
copy
sudo dnf install qstat
copy
brew install qstat
copy

CAVEATS

Syntax varies between PBS, SGE, SLURM. Use squeue for SLURM systems.

HISTORY

qstat is part of PBS (Portable Batch System), developed at NASA for HPC job scheduling.

SEE ALSO

qsub(1), qdel(1), squeue(1), bjobs(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid