and partition. That is, if a node belongs to more than one partition, then one
line for each node-partition pair will be shown.
If --partition is also specified, then only one line per node in this
partition is shown.
The default is to print information in a partition-oriented format.
This is ignored if the --format option is specified.
Print version information and exit.
OUTPUT FIELD DESCRIPTIONS
- AVAIL
-
Partition state. Can be either up, down, drain, or inact
(for INACTIVE). See the partition definition's State parameter in the
slurm.conf(5) man page for more information.
- CPUS
-
Count of CPUs (processors) on each node.
- S:C:T
-
Count of sockets (S), cores (C), and threads (T) on these nodes.
- SOCKETS
-
Count of sockets on these nodes.
- CORES
-
Count of cores on these nodes.
- THREADS
-
Count of threads on these nodes.
- GROUPS
-
Resource allocations in this partition are restricted to the
named groups. all indicates that all groups may use
this partition.
- JOB_SIZE
-
Minimum and maximum node count that can be allocated to any
user job. A single number indicates the minimum and maximum
node count are the same. infinite is used to identify
partitions without a maximum node count.
- TIMELIMIT
-
Maximum time limit for any user job in
days-hours:minutes:seconds. infinite is used to identify
partitions without a job time limit.
- MEMORY
-
Size of real memory in megabytes on these nodes.
- NODELIST
-
Names of nodes associated with this configuration/partition.
- NODES
-
Count of nodes with this particular configuration.
- NODES(A/I)
-
Count of nodes with this particular configuration by node
state in the form "available/idle".
- NODES(A/I/O/T)
-
Count of nodes with this particular configuration by node
state in the form "available/idle/other/total".
- PARTITION
-
Name of a partition. Note that the suffix "*" identifies the
default partition.
- PORT
-
Local TCP port used by slurmd on the node.
- ROOT
-
Is the ability to allocate resources in this partition
restricted to user root, yes or no.
- OVERSUBSCRIBE
-
Will jobs allocated resources in this partition oversubscribe those
compute resources (i.e. CPUs).
no indicates resources are never oversubscribed.
exclusive indicates whole nodes are dedicated to jobs
(equivalent to srun --exclusive option, may be used even
with select/cons_res managing individual processors).
force indicates resources are always available to be oversubscribed.
yes indicates resource may be oversubscribed or not
per job's resource allocation.
- STATE
-
State of the nodes.
Possible states include: allocated, completing, down,
drained, draining, fail, failing, future, idle, maint, mixed,
perfctrs, power_down, power_up, reserved, and unknown plus
Their abbreviated forms: alloc, comp, down, drain, drng,
fail, failg, futr, idle, maint, mix, npc, pow_dn, pow_up, resv,
and unk respectively.
Note that the suffix "*" identifies nodes that are presently
not responding.
- TMP_DISK
-
Size of temporary disk space in megabytes on these nodes.
NODE STATE CODES
Node state codes are shortened as required for the field size.
These node states may be followed by a special character to identify
state flags associated with the node.
The following node sufficies and states are used:
- *
-
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.
- %
-
The node is presently being powered down.
- $
-
The node is currently in a reservation with a flag value of "maintenance".
- @
-
The node is pending reboot.
- ALLOCATED
-
The node has been allocated to one or more jobs.
- ALLOCATED+
-
The node is allocated to one or more active jobs plus
one or more jobs are in the process of COMPLETING.
- COMPLETING
-
All jobs associated with this node are in the process of
COMPLETING. This node state will be removed when
all of the job's processes have terminated and the Slurm
epilog program (if any) has terminated. See the Epilog
parameter description in the slurm.conf man page for
more information.
- DOWN
-
The node is unavailable for use. Slurm can automatically
place nodes in this state if some failure occurs. System
administrators may also explicitly place nodes in this state. If
a node resumes normal operation, Slurm can automatically
return it to service. See the ReturnToService
and SlurmdTimeout parameter descriptions in the
slurm.conf(5) man page for more information.
- DRAINED
-
The node is unavailable for use per system administrator
request. See the update node command in the
scontrol(1) man page or the slurm.conf(5) man page
for more information.
- DRAINING
-
The node is currently executing a job, but will not be allocated
to additional jobs. The node state will be changed to state
DRAINED when the last job on it completes. Nodes enter
this state per system administrator request. See the update
node command in the scontrol(1) man page or the
slurm.conf(5) man page for more information.
- FAIL
-
The node is expected to fail soon and is unavailable for
use per system administrator request.
See the update node command in the scontrol(1)
man page or the slurm.conf(5) man page for more information.
- FAILING
-
The node is currently executing a job, but is expected to fail
soon and is unavailable for use per system administrator request.
See the update node command in the scontrol(1)
man page or the slurm.conf(5) man page for more information.
- FUTURE
-
The node is currently not fully configured, but expected to be available at
some point in the indefinite future for use.
- IDLE
-
The node is not allocated to any jobs and is available for use.
- MAINT
-
The node is currently in a reservation with a flag value of "maintainence".
- REBOOT
-
The node is currently scheduled to be rebooted.
- MIXED
-
The node has some of its CPUs ALLOCATED while others are IDLE.
- PERFCTRS (NPC)
-
Network Performance Counters associated with this node are in use, rendering
this node as not usable for any other jobs
- POWER_DOWN
-
The node is currently powered down and not capable of running any jobs.
- POWERING_DOWN
-
The node is currently powering down and not capable of running any jobs.
- POWER_UP
-
The node is currently in the process of being powered up.
- RESERVED
-
The node is in an advanced reservation and not generally available.
- UNKNOWN
-
The Slurm controller has just started and the node's state
has not yet been determined.
PERFORMANCE
Executing sinfo sends a remote procedure call to slurmctld. If
enough calls from sinfo or other Slurm client commands that send remote
procedure calls to the slurmctld daemon come in at once, it can result in
a degradation of performance of the slurmctld daemon, possibly resulting
in a denial of service.
Do not run sinfo or other Slurm client commands that send remote procedure
calls to slurmctld from loops in shell scripts or other programs. Ensure
that programs limit calls to sinfo to the minimum necessary for the
information you are trying to gather.
ENVIRONMENT VARIABLES
Some sinfo options may
be set via environment variables. These environment variables,
along with their corresponding options, are listed below. (Note:
Commandline options will always override these settings.)
- SINFO_ALL
-
-a, --all
- SINFO_FEDERATION
-
Same as --federation
- SINFO_FORMAT
-
-o <output_format>, --format=<output_format>
- SINFO_LOCAL
-
Same as --local
- SINFO_PARTITION
-
-p <partition>, --partition=<partition>
- SINFO_SORT
-
-S <sort>, --sort=<sort>
- SLURM_CLUSTERS
-
Same as --clusters
- SLURM_CONF
-
The location of the Slurm configuration file.
- SLURM_TIME_FORMAT
-
Specify the format used to report time stamps. A value of standard, the
default value, generates output in the form "year-month-dateThour:minute:second".
A value of relative returns only "hour:minute:second" if the current day.
For other dates in the current year it prints the "hour:minute" preceded by
"Tomorr" (tomorrow), "Ystday" (yesterday), the name of the day for the coming
week (e.g. "Mon", "Tue", etc.), otherwise the date (e.g. "25 Apr").
For other years it returns a date month and year without a time (e.g.
"6 Jun 2012"). All of the time stamps use a 24 hour format.
A valid strftime() format can also be specified. For example, a value of
"%a %T" will report the day of the week and a time stamp (e.g. "Mon 12:34:56").
EXAMPLES
Report basic node and partition configurations:
> sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
batch up infinite 2 alloc adev[8-9]
batch up infinite 6 idle adev[10-15]
debug* up 30:00 8 idle adev[0-7]
Report partition summary information:
> sinfo -s
PARTITION AVAIL TIMELIMIT NODES(A/I/O/T) NODELIST
batch up infinite 2/6/0/8 adev[8-15]
debug* up 30:00 0/8/0/8 adev[0-7]
Report more complete information about the partition debug:
> sinfo --long --partition=debug
PARTITION AVAIL TIMELIMIT JOB_SIZE ROOT OVERSUBS GROUPS NODES STATE NODELIST
debug* up 30:00 8 no no all 8 idle dev[0-7]
Report only those nodes that are in state DRAINED:
> sinfo --states=drained
PARTITION AVAIL NODES TIMELIMIT STATE NODELIST
debug* up 2 30:00 drain adev[6-7]
Report node-oriented information with details and exact matches:
> sinfo -Nel
NODELIST NODES PARTITION STATE CPUS MEMORY TMP_DISK WEIGHT FEATURES REASON
adev[0-1] 2 debug* idle 2 3448 38536 16 (null) (null)
adev[2,4-7] 5 debug* idle 2 3384 38536 16 (null) (null)
adev3 1 debug* idle 2 3394 38536 16 (null) (null)
adev[8-9] 2 batch allocated 2 246 82306 16 (null) (null)
adev[10-15] 6 batch idle 2 246 82306 16 (null) (null)
Report only down, drained and draining nodes and their reason field:
> sinfo -R
REASON NODELIST
Memory errors dev[0,5]
Not Responding dev8
COPYING
Copyright (C) 2002-2007 The Regents of the University of California.
Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
Copyright (C) 2008-2009 Lawrence Livermore National Security.
Copyright (C) 2010-2017 SchedMD LLC.
This file is part of Slurm, a resource management program.
For details, see <https://slurm.schedmd.com/>.
Slurm is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
Slurm is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
SEE ALSO
scontrol(1), squeue(1),
slurm_load_ctl_conf (3), slurm_load_jobs (3),
slurm_load_node (3),
slurm_load_partitions (3),
slurm_reconfigure (3), slurm_shutdown (3),
slurm_update_job (3), slurm_update_node (3),
slurm_update_partition (3),
slurm.conf(5)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- OUTPUT FIELD DESCRIPTIONS
-
- NODE STATE CODES
-
- PERFORMANCE
-
- ENVIRONMENT VARIABLES
-
- EXAMPLES
-
- COPYING
-
- SEE ALSO
-