## 命令行工具

### scontrol

scontrol show node [nodename]


## Slurm节点状态

Slurm中节点的状态非常多，而且节点状态由状态和特殊符号两部分构成。节点状态中可能会有一个特殊的字符后缀用于标识节点关联的状态标志。组合起来的作业状态就更复杂了，经验不足的使用者想要理解还是有一些难度的。这里我以官方文件加上我自己的理解逐一解释各个状态。

### 特殊字符

“*”:

The node is presently not responding and will not be allocated any new work. If the node remains non-responsive, it will be placed in the DOWN state (except in the case of COMPLETING, DRAINED, DRAINING, FAIL, FAILING nodes).

“~”:

The node is presently in a power saving mode (typically running at reduced frequency).

“#”:

The node is presently being powered up or configured.

• 未知： UNKNOWN