sinfo
sinfo is a command line tool used in Slurm, a job scheduler and resource manager commonly used in high-performance computing (HPC) clusters. The sinfo command provides an overview of available resources and the current state of the Slurm cluster. It displays information about partitions, nodes, node state, and other cluster details.
When executed, sinfo outputs a table-like display showing various columns such as node name, state, reason, and other relevant information. The node state can include attributes like idle, allocated, down, drained, and failure. It also includes information about the number of CPU cores, memory, and other resources available on each node.
sinfo can be used to filter and sort based on different criteria, facilitating the identification of specific nodes or partitions that meet certain requirements. This can be valuable for job scheduling and resource management, allowing users to make informed decisions about job submissions based on available resources.
In addition to its basic functionality, sinfo can also provide a summary of the cluster state in various formats, aiding in cluster monitoring and troubleshooting. It offers the flexibility to query and retrieve cluster information in a concise and easily understandable manner, making it an essential tool for administrators and users in HPC environments.
List of commands for sinfo:
-
sinfo:tldr:09470 sinfo: View the detailed status of a specific partition.$ sinfo --partition ${partition_name}try on your machineexplain this command
-
sinfo:tldr:0b712 sinfo: List dead nodes and the reasons why.$ sinfo --list-reasonstry on your machineexplain this command
-
sinfo:tldr:40992 sinfo: Show a quick summary overview of the cluster.$ sinfo --summarizetry on your machineexplain this command
-
sinfo:tldr:c01ec sinfo: View information about idle nodes.$ sinfo --states ${idle}try on your machineexplain this command
-
sinfo:tldr:e776f sinfo: View the detailed status of all partitions across the entire cluster.$ sinfotry on your machineexplain this command
-
sinfo:tldr:eb6c9 sinfo: Summarise dead nodes.$ sinfo --deadtry on your machineexplain this command