Skip to main content
In a Soperator cluster, Slurm nodes run as Kubernetes® Pods. You can monitor the nodes by using Slurm commands, which are listed in a cheat sheet. For more information about monitoring an underlying Kubernetes cluster, see Managed Service for Kubernetes® documentation. To run the monitoring commands, connect to a login node.

Cluster status

To list current worker nodes, run the following command:
This command returns a list of detailed information about the nodes. For more information about other parameters available for sinfo, see Slurm documentation. Output example:
Only worker nodes are listed in this view. If the node state has an asterisk next to it, for example, idle*, this means that the node did not respond and it is unavailable. The node goes down if it does not respond quickly. For more information about common node states, see Node states. You can customize the columns in the sinfo output by using the -o parameter. For example, sinfo -o "%20P %5D %14F %8z %10m %10d %11l %16f %N" lists the partitions, gives you the total number of nodes and shows which nodes are free, how much memory is available and the time limits for jobs currently being executed. For more information about these parameters, see Slurm documentation. To get more information about a particular node, run the following command:

Node states

Some of the common node states include: For a complete list of all possible node states, see Slurm documentation.

How to drain and resume a node

To drain a node (that is, stop scheduling more jobs and make the node unavailable), run the following command:
To resume a node that was drained, run the following command:

Job queue

To list all jobs currently running or pending (that is, waiting for resources), run the following command:
To list all jobs currently running, run the following command:
Output example:
For pending jobs with the PD status, the NODELIST(REASON) column shows the reason why the job is pending. For more information about possible reasons for this status, see Slurm documentation.

Job details

To use the job ID to get more details about the job, run the following command:

Completed job statistics

To get the details about the jobs already completed, run the following command:
Output example:
For more information about additional parameters available for sacct, see Slurm documentation.