← 返回命令列表

Linux command

squeue 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

View

squeue

View

squeue -u [username]

View

squeue -i 5

View

squeue --start

说明

squeue displays information about jobs in the Slurm scheduling queue. It shows job ID, partition, name, user, state, time, nodes, and node list for jobs awaiting or running on the cluster. Common job states include: PD (pending), R (running), CG (completing), CD (completed), F (failed), and CA (cancelled).

参数

-u, --user _username_
Show only jobs owned by specified user
-i, --iterate _seconds_
Refresh display at specified interval
--start
Show expected start time for pending jobs
-j, --jobs _job_list_
Show specific job IDs
-p, --partition _name_
Show jobs in specific partition
-t, --states _states_
Filter by job state (pending, running, etc.)
-l, --long
Long output format
-o, --format _format_
Customize output format
-S, --sort _field_
Sort output by field

FAQ

What is the squeue command used for?

squeue displays information about jobs in the Slurm scheduling queue. It shows job ID, partition, name, user, state, time, nodes, and node list for jobs awaiting or running on the cluster. Common job states include: PD (pending), R (running), CG (completing), CD (completed), F (failed), and CA (cancelled).

How do I run a basic squeue example?

Run `squeue` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -u, --user _username_ do in squeue?

Show only jobs owned by specified user