Close Menu
DPC Virtual Tips
    Read More

    Linux Memory Below 10%: How to Troubleshoot High Memory Usage

    September 15, 2026

    How to Resize ext4 and XFS Filesystems on RHEL 8

    September 14, 2026

    How to Install VMware PowerCLI Offline (VCF PowerCLI)

    September 14, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    DPC Virtual Tips
    • Home
    • Linux & Automation
    • HPC & Slurm
    • VMware & Virtualization
    • About Us
    • Contact
    DPC Virtual Tips
    Home » Slurm sinfo: View Nodes, Partitions, States, and Reasons
    HPC & Slurm

    Slurm sinfo: View Nodes, Partitions, States, and Reasons

    By Danilo ChiacchioAugust 3, 20266 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Slurm sinfo: View Nodes, Partitions, States, and Reasons
    Slurm sinfo: View Nodes, Partitions, States, and Reasons
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Slurm nodes and partitions are among the first components I check when monitoring or troubleshooting an HPC cluster.

    The sinfo command is one of the first tools I use to understand the current state of a Slurm cluster. It provides a quick view of partitions, compute nodes, node states, time limits, and unavailable resources.

    In this guide, I will show how to read the default sinfo output, switch to a node-oriented view, identify unavailable nodes, and display the reason associated with DOWN, DRAINED, or similar states.

    If you want to build an environment where these commands can be tested, see “Setting Up a Slurm Cluster in a Lab: Practical Deployment Guide“.

    sinfo

    Definitely, the “sinfo” command is one of the most important and useful commands for any Slurm administrator. This command displays partitions and node states:

    Slurm sinfo output showing partitions node states and node lists
    Slurm sinfo output showing partitions node states and node lists

    The default output is partition-oriented and commonly includes:

    FieldMeaning
    PARTITIONSlurm partition name
    AVAILWhether the partition is available for scheduling
    TIMELIMITMaximum job time configured for the partition
    NODESNumber of nodes represented by that row
    STATECurrent node state
    NODELISTNodes matching that partition/state combination

    A * after the partition name identifies the default partition used when a job does not explicitly request another partition.

    As we can see, the “sinfo” command displays extensive information about the existing Slurm partitions. So, let’s break it down to provide more details:

    Slurm sinfo fields explaining partition availability time limit nodes state and nodelist
    Slurm sinfo fields explaining partition availability time limit nodes state and nodelist

    View Slurm Information by Node

    By default, sinfo groups information by partition and state.

    To switch to a node-oriented view:

    sinfo -N

    For more details:

    sinfo -N -l

    This is useful when you want to inspect individual compute nodes instead of grouped partition information.

    A node can belong to more than one partition, so the same node may appear on multiple lines when using -N. The SchedMD documentation explicitly describes this behavior.

    Isso dá ao artigo mais valor sem aumentar muito o tamanho.

    Get a Partition Summary

    For a compact overview:

    sinfo -s

    This summarizes nodes in the format:

    allocated / idle / other / total

    It is useful when you want a quick health view of each partition without listing every node state separately.

    sinfo -R (or –list-reasons)

    As we showed earlier, the “sinfo” command (without any options) displays the partitions and node states. This includes all possible states (good or bad, from the Slurm administrator’s perspective :-)).

    The “sinfo -R” command lists reasons nodes are in the down, drained, fail, or failing state. When nodes are in these states, Slurm supports the inclusion of a “reason” string by an administrator. This option will display the first 20 characters of the reason field and a list of nodes with that reason for all nodes that are, by default, down, drained, draining, or failing.

    Let’s explore a possible situation that a Slurm administrator can face:

    • As shown in the following image, the “sinfo” command reports many nodes in a “down” state.
    • These nodes are in a “down” state and are distributed (or part of two partitions: cpu and mcpu).
    • But, we cannot see the reason why the nodes are in “down”:
    Slurm sinfo showing multiple compute nodes in DOWN state across partitions
    Slurm sinfo showing multiple compute nodes in DOWN state across partitions

    So, with “sinfo -R”, we can see the field “reason”, indicating the reason for the nodes is in the current state:

    Slurm sinfo list reasons output showing why compute nodes are unavailable
    Slurm sinfo list reasons output showing why compute nodes are unavailable

    Note: To remember, by default, the field “reason” displays only the first 20 characters. To customize the number of characters to see, we can use the “sinfo -R” with the option “-o”, as we can see in the following picture:

    Slurm sinfo custom format displaying node reason user timestamp state and nodelist
    Slurm sinfo custom format displaying node reason user timestamp state and nodelist

    So, now the field “reason” is readable, and we can see the full reason message!

    Let’s break the used command down:

    sinfo -R -o "%30E %10u %20H %40N %5T"

    Format tokens, where:

    %E = Reason associated with the unavailable node
    %u = User who set the reason
    %H = Timestamp when the reason was recorded
    %N = Node list
    %T = Extended node state

    Note: %30E requests a minimum display width of 30 characters for the Reason field, which makes longer reason messages easier to read than the default sinfo -R presentation.

    Let’s break the “sinfo-R” down:

    Slurm sinfo reason fields including reason user timestamp node list and node state
    Slurm sinfo reason fields including reason user timestamp node list and node state

    From Node Reason to Troubleshooting

    Once sinfo -R identifies an unavailable node and its recorded reason, use:

    scontrol show node hpcnode40

    to inspect the complete node information before making changes.

    For example, a reason such as:

    Node unexpectedly rebooted

    tells us where the investigation should begin, but it does not mean that the node should immediately be resumed.

    Depending on the reason, the next checks may include:

    • node reachability;
    • slurmd;
    • MUNGE;
    • controller communication;
    • configuration mismatches;
    • filesystems;
    • Prolog/Epilog;
    • hardware or GRES devices.

    For a complete node-recovery workflow, see “Slurm Node Is DRAINED: How to Find the Exact Reason“.

    Inspect a Specific Partition in Detail

    sinfo is ideal for a quick overview, but scontrol provides more detailed information about a specific partition.

    For example:

    scontrol show partition cpu

    This can show settings such as:

    PartitionName
    Default
    MaxTime
    Nodes
    State
    TotalCPUs
    TotalNodes
    OverSubscribe
    AllowAccounts
    AllowGroups

    For a specific node:

    scontrol show node hpcnode40

    scontrol is therefore a useful companion to sinfo: use sinfo for the cluster overview and scontrol show when you need detailed information about one object. The official SchedMD documentation defines scontrol specifically as a tool to view or modify nodes, partitions, jobs and other Slurm objects.

    Turning Slurm Status into Useful Information

    sinfo provides a fast way to understand how a Slurm cluster looks from the scheduler’s perspective. The default view summarizes partitions and node states, while options such as -N, -s, and -R make it easier to focus on individual nodes, partition capacity, or unavailable resources.

    When a node is DOWN, DRAINED, or otherwise unavailable, the recorded reason should be treated as the starting point of the investigation rather than the final diagnosis. scontrol show node can then provide the additional details required before any recovery action is taken.

    Using these commands together makes it much easier to move from a general cluster overview to a focused troubleshooting workflow.

    External References

    • Slurm sinfo Documentation Official SchedMD reference for viewing Slurm partitions, compute nodes, node states, unavailable-node reasons, custom output formats, and node-oriented cluster information.
    • Slurm scontrol Documentation Official command reference for inspecting detailed information about Slurm nodes, partitions, jobs, reservations, and overall cluster configuration and state.
    • Slurm Quick Start User Guide SchedMD introduction to common Slurm commands and the use of sinfo to identify partitions, node availability, default partitions, and cluster state.
    • Slurm Job and Node State Codes Official reference for interpreting Slurm state codes and state flags encountered while monitoring cluster resources.
    • slurm.conf Configuration Reference Complete SchedMD reference for node and partition definitions, availability, time limits, resource configuration, access controls, scheduling behavior, and other cluster settings.
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleLustre Filesystem Commands: A Practical Admin Guide
    Next Article How to Change the vCenter Server FQDN/PNID Safely
    Danilo Chiacchio
    • LinkedIn

    Infrastructure Engineer with hands-on experience in virtualization, Linux, Windows Server, and enterprise infrastructure troubleshooting. I work with real-world infrastructure environments and technical labs, focusing on diagnosing problems, understanding root causes, and documenting practical solutions. DPC Virtual Tips was created to share hands-on troubleshooting guides, lab experiences, technical procedures, and lessons learned while working with technologies such as VMware, Linux, HPC/Slurm, networking, storage, and infrastructure automation with Python.

    Related Posts

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    September 8, 2026

    Slurm Job Submission: Practical Guide to srun, sbatch, and salloc

    August 27, 2026

    Setting Up a Slurm Cluster in a Lab: Practical Deployment Guide

    August 24, 2026

    Comments are closed.

    Search
    Categories
    • HPC & Slurm (11)
    • Linux & Automation (14)
    • VMware & Virtualization (17)
    Read More
    Linux & Automation

    Linux Memory Below 10%: How to Troubleshoot High Memory Usage

    By Danilo ChiacchioSeptember 15, 20268 Mins Read
    Linux & Automation

    How to Resize ext4 and XFS Filesystems on RHEL 8

    By Danilo ChiacchioSeptember 14, 202614 Mins Read
    VMware & Virtualization

    How to Install VMware PowerCLI Offline (VCF PowerCLI)

    By Danilo ChiacchioSeptember 14, 202610 Mins Read
    VMware & Virtualization

    Configure vCenter File-Based Backups to NFS: Practical Lab Guide

    By Danilo ChiacchioSeptember 11, 202610 Mins Read
    Linux & Automation

    Creating Your First Ansible Playbook: A Practical Lab Guide

    By Danilo ChiacchioSeptember 10, 202610 Mins Read
    Latest Posts

    Linux Memory Below 10%: How to Troubleshoot High Memory Usage

    September 15, 2026

    How to Resize ext4 and XFS Filesystems on RHEL 8

    September 14, 2026

    How to Install VMware PowerCLI Offline (VCF PowerCLI)

    September 14, 2026
    Images from Gallery
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    shell scripting
    vSAN Trace Files
    Categories
    • HPC & Slurm
    • Linux & Automation
    • VMware & Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to improve your browsing experience, analyze website traffic, and display relevant advertising. You can accept all cookies or manage your preferences at any time.