[slurm]如何查看 slurm 上的作业类型?批处理或交互
[slurm]How to check the job type on slurm ? batch or interactive
我想确定 slurm 上的作业是批处理作业还是交互式作业。
可以通过以下命令查看批处理主机,有没有更好的方法?
squeue -O "Name,BatchHost"
NAME EXEC_HOST
int login001
batch compute009
scontrol show job
有一个标志 BatchFlag
。 scontrol
联机帮助页说:
BatchFlag
Jobs submitted using the sbatch command have BatchFlag set to 1. Jobs submitted using other commands have BatchFlag set to 0.
我想确定 slurm 上的作业是批处理作业还是交互式作业。
可以通过以下命令查看批处理主机,有没有更好的方法?
squeue -O "Name,BatchHost"
NAME EXEC_HOST
int login001
batch compute009
scontrol show job
有一个标志 BatchFlag
。 scontrol
联机帮助页说:
BatchFlag
Jobs submitted using the sbatch command have BatchFlag set to 1. Jobs submitted using other commands have BatchFlag set to 0.