1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348
|
.TH sinfo "1" "Slurm Commands" "June 2023" "Slurm Commands"
.SH "NAME"
sinfo \- View information about Slurm nodes and partitions.
.SH "SYNOPSIS"
\fBsinfo\fR [\fIOPTIONS\fR...]
.SH "DESCRIPTION"
\fBsinfo\fR is used to view partition and node information for a
system running Slurm.
.SH "OPTIONS"
.TP
\fB\-a\fR, \fB\-\-all\fR
Display information about all partitions. This causes information to be
displayed about partitions that are configured as hidden and partitions that
are unavailable to the user's group.
.IP
.TP
\fB\-M\fR, \fB\-\-clusters\fR=<\fIstring\fR>
Clusters to issue commands to. Multiple cluster names may be comma separated.
A value of '\fBall\fR' will query all clusters.
Note that the \fBslurmdbd\fR must be up for this option to work properly, unless
running in a federation with either \fBFederationParameters=fed_display\fR
configured or the \fB\-\-federation\fR option set.
This option implicitly sets the \fB\-\-local\fR option.
.IP
.TP
\fB\-d\fR, \fB\-\-dead\fR
If set, only report state information for non\-responding (dead) nodes.
.IP
.TP
\fB\-e\fR, \fB\-\-exact\fR
If set, do not group node information on multiple nodes unless
their configurations to be reported are identical. Otherwise
cpu count, memory size, and disk space for nodes will be listed
with the minimum value followed by a "+" for nodes with the
same partition and state (e.g. "250+").
.IP
.TP
\fB\-\-federation\fR
Show all partitions from the federation if a member of one.
.IP
.TP
\fB\-F\fR, \fB\-\-future\fR
Report nodes in FUTURE state.
.IP
.TP
\fB\-o\fR, \fB\-\-format\fR=<\fIoutput_format\fR>
Specify the information to be displayed using an \fBsinfo\fR
format string.
If the command is executed in a federated cluster environment and information
about more than one cluster is to be displayed and the \fB\-h, \-\-noheader\fR
option is used, then the cluster name will be displayed before the default
output formats shown below.
Format strings transparently used by \fBsinfo\fR when running with various
options are:
.IP
.RS
.TP 15
.I "default"
"%#P %.5a %.10l %.6D %.6t %N"
.IP
.TP
.I "\-\-summarize"
"%#P %.5a %.10l %.16F %N"
.IP
.TP
.I "\-\-long"
"%#P %.5a %.10l %.10s %.4r %.8h %.10g %.6D %.11T %.11i %N"
.IP
.TP
.I "\-\-Node"
"%#N %.6D %#P %6t"
.IP
.TP
.I "\-\-long \-\-Node"
"%#N %.6D %#P %.11T %.4c %.8z %.6m %.8d %.6w %.8f %20E"
.IP
.TP
.I "\-\-list\-reasons"
"%20E %9u %19H %N"
.IP
.TP
.I "\-\-long \-\-list\-reasons"
"%20E %12U %19H %6t %N"
.RE
.IP
In the above format strings, the use of "#" represents the
maximum length of any partition name or node list to be printed.
A pass is made over the records to be printed to establish the size in order
to align the sinfo output, then a second pass is made over the records to
print them.
Note that the literal character "#" itself is not a valid field length
specification, but is only used to document this behavior.
The format of each field is "%[[.]size]type[suffix]"
.IP
.RS 10
.TP
\fIsize\fR
Minimum field size. If no size is specified, whatever is needed to print the
information will be used.
.IP
.TP
\fI.\fR
Indicates the output should be right justified and size must be specified.
By default output is left justified.
.IP
.TP
\fIsuffix\fR
Arbitrary string to append to the end of the field.
.IP
.RE
Valid \fItype\fR specifications include:
.IP
.RS
.TP 6
\fB%all\fR
Print all fields available for this data type with a vertical bar separating
each field.
.IP
.TP
\fB%a\fR
State/availability of a partition.
.IP
.TP
\fB%A\fR
Number of nodes by state in the format "allocated/idle".
Do not use this with a node state option ("%t" or "%T") or
the different node states will be placed on separate lines.
.IP
.TP
\fB%b\fR
Features currently active on the nodes, also see \fB%f\fR.
.IP
.TP
\fB%B\fR
The max number of CPUs per node available to jobs in the partition.
.IP
.TP
\fB%c\fR
Number of CPUs per node.
.IP
.TP
\fB%C\fR
Number of CPUs by state in the format
"allocated/idle/other/total". Do not use this with a node
state option ("%t" or "%T") or the different node states will
be placed on separate lines.
.IP
.TP
\fB%d\fR
Size of temporary disk space per node in megabytes.
.IP
.TP
\fB%D\fR
Number of nodes.
.IP
.TP
\fB%e\fR
The total memory, in MB, currently free on the node as reported by the OS. This
value is for informational use only and is not used for scheduling.
.IP
.TP
\fB%E\fR
The reason a node is unavailable (down, drained, or draining states).
.IP
.TP
\fB%f\fR
Features available the nodes, also see \fB%b\fR.
.IP
.TP
\fB%F\fR
Number of nodes by state in the format
"allocated/idle/other/total". Note the use of this format option with a node
state format option ("%t" or "%T") will result in the different node states
being be reported on separate lines.
.IP
.TP
\fB%g\fR
Groups which may use the nodes.
.IP
.TP
\fB%G\fR
Generic resources (gres) associated with the nodes.
.IP
.TP
\fB%h\fR
Print the OverSubscribe setting for the partition.
.IP
.TP
\fB%H\fR
Print the timestamp of the reason a node is unavailable.
.IP
.TP
\fB%i\fR
If a node is in an advanced reservation print the name of that reservation.
.IP
.TP
\fB%I\fR
Partition job priority weighting factor.
.IP
.TP
\fB%l\fR
Maximum time for any job in the format "days\-hours:minutes:seconds"
.IP
.TP
\fB%L\fR
Default time for any job in the format "days\-hours:minutes:seconds"
.IP
.TP
\fB%m\fR
Size of memory per node in megabytes.
.IP
.TP
\fB%M\fR
PreemptionMode.
.IP
.TP
\fB%n\fR
List of node hostnames.
.IP
.TP
\fB%N\fR
List of node names.
.IP
.TP
\fB%o\fR
List of node communication addresses.
.IP
.TP
\fB%O\fR
CPU load of a node as reported by the OS.
.IP
.TP
\fB%p\fR
Partition scheduling tier priority.
.IP
.TP
\fB%P\fR
Partition name followed by "*" for the default partition, also see \fB%R\fR.
.IP
.TP
\fB%r\fR
Only user root may initiate jobs, "yes" or "no".
.IP
.TP
\fB%R\fR
Partition name, also see \fB%P\fR.
.IP
.TP
\fB%s\fR
Maximum job size in nodes.
.IP
.TP
\fB%S\fR
Allowed allocating nodes.
.IP
.TP
\fB%t\fR
State of nodes, compact form.
.IP
.TP
\fB%T\fR
State of nodes, extended form.
.IP
.TP
\fB%u\fR
Print the user name of who set the reason a node is unavailable.
.IP
.TP
\fB%U\fR
Print the user name and uid of who set the reason a node is unavailable.
.IP
.TP
\fB%v\fR
Print the version of the running slurmd daemon.
.IP
.TP
\fB%V\fR
Print the cluster name if running in a federation.
.IP
.TP
\fB%w\fR
Scheduling weight of the nodes.
.IP
.TP
\fB%X\fR
Number of sockets per node.
.IP
.TP
\fB%Y\fR
Number of cores per socket.
.IP
.TP
\fB%Z\fR
Number of threads per core.
.IP
.TP
\fB%z\fR
Extended processor information: number of sockets, cores, threads (S:C:T) per node.
.RE
.IP
.TP
\fB\-O\fR, \fB\-\-Format\fR=<\fIoutput_format\fR>
Specify the information to be displayed.
Also see the \fB\-o <output_format>\fR, \fB\-\-format=<output_format>\fR
option (which supports greater flexibility in formatting, but
does not support access to all fields because we ran out of letters).
Requests a comma separated list of job information to be displayed.
The format of each field is "type[:[.][size][suffix]]"
.IP
.RS 10
.TP
\fIsize\fR
The maximum field size.
If no size is specified, 20 characters will be allocated to print the information.
.IP
.TP
\fI.\fR
Indicates the output should be right justified and size must be specified.
By default, output is left justified.
.IP
.TP
\fIsuffix\fR
Arbitrary string to append to the end of the field.
.IP
.RE
Valid \fItype\fR specifications include:
.IP
.RS
.TP 7
\fBAll\fR
Print all fields available in the \-o format for this data type with a
vertical bar separating each field.
.IP
.TP
\fBAllocMem\fR
Prints the amount of allocated memory on a node.
.IP
.TP
\fBAllocNodes\fR
Allowed allocating nodes.
.IP
.TP
\fBAvailable\fR
State/availability of a partition.
.IP
.TP
\fBCluster\fR
Print the cluster name if running in a federation.
.IP
.TP
\fBComment\fR
Comment. (Arbitrary descriptive string)
.IP
.TP
\fBCores\fR
Number of cores per socket.
.IP
.TP
\fBCPUs\fR
Number of CPUs per node.
.IP
.TP
\fBCPUsLoad\fR
CPU load of a node as reported by the OS.
.IP
.TP
\fBCPUsState\fR
Number of CPUs by state in the format
"allocated/idle/other/total". Do not use this with a node
state option ("%t" or "%T") or the different node states will
be placed on separate lines.
.IP
.TP
\fBDefaultTime\fR
Default time for any job in the format "days\-hours:minutes:seconds".
.IP
.TP
\fBDisk\fR
Size of temporary disk space per node in megabytes.
.IP
.TP
\fBExtra\fR
Arbitrary string on the node.
.IP
.TP
\fBFeatures\fR
Features available on the nodes. Also see \fBfeatures_act\fR.
.IP
.TP
\fBfeatures_act\fR
Features currently active on the nodes. Also see \fBfeatures\fR.
.IP
.TP
\fBFreeMem\fR
The total memory, in MB, currently free on the node as reported by the OS. This
value is for informational use only and is not used for scheduling.
.IP
.TP
\fBGres\fR
Generic resources (gres) associated with the nodes.
.IP
.TP
\fBGresUsed\fR
Generic resources (gres) currently in use on the nodes.
.IP
.TP
\fBGroups\fR
Groups which may use the nodes.
.IP
.TP
\fBMaxCPUsPerNode\fR
The max number of CPUs per node available to jobs in the partition.
.IP
.TP
\fBMemory\fR
Size of memory per node in megabytes.
.IP
.TP
\fBNodeAddr\fR
List of node communication addresses.
.IP
.TP
\fBNodeAI\fR
Number of nodes by state in the format "allocated/idle".
Do not use this with a node state option ("%t" or "%T") or
the different node states will be placed on separate lines.
.IP
.TP
\fBNodeAIOT\fR
Number of nodes by state in the format
"allocated/idle/other/total". Do not use this with a node
state option ("%t" or "%T") or the different node states will
be placed on separate lines.
.IP
.TP
\fBNodeHost\fR
List of node hostnames.
.IP
.TP
\fBNodeList\fR
List of node names.
.IP
.TP
\fBNodes\fR
Number of nodes.
.IP
.TP
\fBOverSubscribe\fR
Whether jobs may oversubscribe compute resources (e.g. CPUs).
.IP
.TP
\fBPartition\fR
Partition name followed by "*" for the default partition, also see \fB%R\fR.
.IP
.TP
\fBPartitionName\fR
Partition name, also see \fB%P\fR.
.IP
.TP
\fBPort\fR
Node TCP port.
.IP
.TP
\fBPreemptMode\fR
Preemption mode.
.IP
.TP
\fBPriorityJobFactor\fR
Partition factor used by priority/multifactor plugin in calculating job priority.
.IP
.TP
\fBPriorityTier\fR or \fBPriority\fR
Partition scheduling tier priority.
.IP
.TP
\fBReason\fR
The reason a node is unavailable (down, drained, or draining states).
.IP
.TP
\fBRoot\fR
Only user root may initiate jobs, "yes" or "no".
.IP
.TP
\fBSize\fR
Maximum job size in nodes.
.IP
.TP
\fBSocketCoreThread\fR
Extended processor information: number of sockets, cores, threads (S:C:T) per node.
.IP
.TP
\fBSockets\fR
Number of sockets per node.
.IP
.TP
\fBStateCompact\fR
State of nodes, compact form.
.IP
.TP
\fBStateLong\fR
State of nodes, extended form.
.IP
.TP
\fBStateComplete\fR
State of nodes, including all node state flags. e.g. "idle+cloud+power"
.IP
.TP
\fBThreads\fR
Number of threads per core.
.IP
.TP
\fBTime\fR
Maximum time for any job in the format "days\-hours:minutes:seconds".
.IP
.TP
\fBTimeStamp\fR
Print the timestamp of the reason a node is unavailable.
.IP
.TP
\fBUser\fR
Print the user name of who set the reason a node is unavailable.
.IP
.TP
\fBUserLong\fR
Print the user name and uid of who set the reason a node is unavailable.
.IP
.TP
\fBVersion\fR
Print the version of the running slurmd daemon.
.IP
.TP
\fBWeight\fR
Scheduling weight of the nodes.
.RE
.IP
.TP
\fB\-\-help\fR
Print a message describing all \fBsinfo\fR options.
.IP
.TP
\fB\-\-hide\fR
Do not display information about hidden partitions. Partitions
that are configured as hidden or are not available to the user's group
will not be displayed. This is the default behavior.
.IP
.TP
\fB\-i\fR, \fB\-\-iterate\fR=<\fIseconds\fR>
Print the state on a periodic basis.
Sleep for the indicated number of seconds between reports.
By default prints a time stamp with the header.
.IP
.TP
\f3\-\-json\fP, \f3\-\-json\fP=\fIlist\fR, \f3\-\-json\fP=<\fIdata_parser\fR>
Dump information as JSON using the default data_parser plugin or explicit
data_parser with parameters. All information is dumped, even if it would
normally not be. Sorting and formatting arguments passed to other options are
ignored; however, most filtering arguments are still used.
.IP
.TP
\fB\-R\fR, \fB\-\-list\-reasons\fR
List 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 list of nodes with that reason for all nodes that are,
by default, down, drained, draining or failing.
This option may be used with other node filtering options
(e.g. \fB\-r\fR, \fB\-d\fR, \fB\-t\fR, \fB\-n\fR),
however, combinations of these options that result in a
list of nodes that are not down or drained or failing will
not produce any output.
When used with \fB\-l\fR the output additionally includes
the current node state.
.IP
.TP
\fB\-\-local\fR
Show only jobs local to this cluster. Ignore other clusters in this federation
(if any). Overrides \fB\-\-federation\fR.
.IP
.TP
\fB\-l\fR, \fB\-\-long\fR
Print more detailed information.
This is ignored if the \fB\-\-format\fR option is specified.
.IP
.TP
\fB\-\-noconvert\fR
Don't convert units from their original type (e.g. 2048M won't be converted to
2G).
.IP
.TP
\fB\-N\fR, \fB\-\-Node\fR
Print information in a node\-oriented format with one line per node
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 \fB\-\-partition\fR 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 \fB\-\-format\fR option is specified.
.IP
.TP
\fB\-n\fR, \fB\-\-nodes\fR=<\fInodes\fR>
Print information about the specified node(s).
Multiple nodes may be comma separated or expressed using a
node range expression (e.g. "linux[00\-17]")
Limiting the query to just the relevant nodes can measurably improve the
performance of the command for large clusters.
.IP
.TP
\fB\-h\fR, \fB\-\-noheader\fR
Do not print a header on the output.
.IP
.TP
\fB\-p\fR, \fB\-\-partition\fR=<\fIpartition\fR>
Print information about the node(s) in the specified partition(s).
Multiple partitions are separated by commas.
.IP
.TP
\fB\-T\fR, \fB\-\-reservation\fR
Only display information about Slurm reservations.
\fBNOTE\fR: This option causes \fBsinfo\fR to ignore most other options,
which are focused on partition and node information.
.IP
.TP
\fB\-r\fR, \fB\-\-responding\fR
If set only report state information for responding nodes.
.IP
.TP
\fB\-S\fR, \fB\-\-sort\fR=<\fIsort_list\fR>
Specification of the order in which records should be reported.
This uses the same field specification as the <output_format>.
Multiple sorts may be performed by listing multiple sort fields
separated by commas. The field specifications may be preceded
by "+" or "\-" for ascending (default) and descending order
respectively. The partition field specification, "P", may be
preceded by a "#" to report partitions in the same order that
they appear in Slurm's configuration file, \fBslurm.conf\fR.
For example, a sort value of "+P,\-m" requests that records
be printed in order of increasing partition name and within a
partition by decreasing memory size. The default value of sort
is "#P,\-t" (partitions ordered as configured then decreasing
node state). If the \fB\-\-Node\fR option is selected, the
default sort value is "N" (increasing node name).
.IP
.TP
\fB\-t\fR, \fB\-\-states\fR=<\fIstates\fR>
List nodes only having the given state(s). Multiple states
may be comma separated and the comparison is case insensitive.
If the states are separated by '&', then the nodes must be in all states.
Possible values include (case insensitive): ALLOC, ALLOCATED, BLOCKED, CLOUD,
COMP, COMPLETING, DOWN, DRAIN (for node in DRAINING or DRAINED
states), DRAINED, DRAINING, FAIL, FUTURE, FUTR,
IDLE, MAINT, MIX, MIXED, NO_RESPOND, NPC, PERFCTRS, PLANNED,
POWER_DOWN, POWERING_DOWN, POWERED_DOWN, POWERING_UP, REBOOT_ISSUED,
REBOOT_REQUESTED, RESV, RESERVED, UNK, and UNKNOWN.
By default nodes in the specified state are reported whether
they are responding or not.
The \fB\-\-dead\fR and \fB\-\-responding\fR options may be
used to filter nodes by the corresponding flag.
.IP
.TP
\fB\-s\fR, \fB\-\-summarize\fR
List only a partition state summary with no node state details.
This is ignored if the \fB\-\-format\fR option is specified.
.IP
.TP
\fB\-\-usage\fR
Print a brief message listing the \fBsinfo\fR options.
.IP
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Provide detailed event logging through program execution.
.IP
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version information and exit.
.IP
.TP
\f3\-\-yaml\fP, \f3\-\-yaml\fP=\fIlist\fR, \f3\-\-yaml\fP=<\fIdata_parser\fR>
Dump information as YAML using the default data_parser plugin or explicit
data_parser with parameters. All information is dumped, even if it would
normally not be. Sorting and formatting arguments passed to other options are
ignored; however, most filtering arguments are still used.
.IP
.SH "OUTPUT FIELD DESCRIPTIONS"
.TP
\fBAVAIL\fR
Partition state. Can be either \fBup\fR, \fBdown\fR, \fBdrain\fR, or \fBinact\fR
(for INACTIVE). See the partition definition's \fBState\fR parameter in the
\fBslurm.conf\fR(5) man page for more information.
.IP
.TP
\fBCPUS\fR
Count of CPUs (processors) on these nodes.
.IP
.TP
\fBS:C:T\fR
Count of sockets (S), cores (C), and threads (T) on these nodes.
.IP
.TP
\fBSOCKETS\fR
Count of sockets on these nodes.
.IP
.TP
\fBCORES\fR
Count of cores on these nodes.
.IP
.TP
\fBTHREADS\fR
Count of threads on these nodes.
.IP
.TP
\fBGROUPS\fR
Resource allocations in this partition are restricted to the
named groups. \fBall\fR indicates that all groups may use
this partition.
.IP
.TP
\fBJOB_SIZE\fR
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. \fBinfinite\fR is used to identify
partitions without a maximum node count.
.IP
.TP
\fBTIMELIMIT\fR
Maximum time limit for any user job in
days\-hours:minutes:seconds. \fBinfinite\fR is used to identify
partitions without a job time limit.
.IP
.TP
\fBMEMORY\fR
Size of real memory in megabytes on these nodes.
.IP
.TP
\fBNODELIST\fR
Names of nodes associated with this particular configuration.
.IP
.TP
\fBNODES\fR
Count of nodes with this particular configuration.
.IP
.TP
\fBNODES(A/I)\fR
Count of nodes with this particular configuration by node
state in the form "allocated/idle".
.IP
.TP
\fBNODES(A/I/O/T)\fR
Count of nodes with this particular configuration by node
state in the form "allocated/idle/other/total".
.IP
.TP
\fBPARTITION\fR
Name of a partition. Note that the suffix "*" identifies the
default partition.
.IP
.TP
\fBPORT\fR
Local TCP port used by slurmd on the node.
.IP
.TP
\fBROOT\fR
Is the ability to allocate resources in this partition
restricted to user root, \fByes\fR or \fBno\fR.
.IP
.TP
\fBOVERSUBSCRIBE\fR
Whether jobs allocated resources in this partition can/will oversubscribe
those compute resources (e.g. CPUs).
\fBNO\fR indicates resources are never oversubscribed.
\fBEXCLUSIVE\fR indicates whole nodes are dedicated to jobs
(equivalent to srun \-\-exclusive option, may be used even
with select/cons_tres managing individual processors).
\fBFORCE\fR indicates resources are always available to be oversubscribed.
\fBYES\fR indicates resource may be oversubscribed, if requested by the job's
resource allocation.
\fBNOTE\fR: If OverSubscribe is set to FORCE or YES,
the OversubScribe value will be appended to the output.
.IP
.TP
\fBSTATE\fR
State of the nodes.
Possible states include: allocated, blocked, completing, down,
drained, draining, fail, failing, future, idle, maint, mixed,
perfctrs, planned, power_down, power_up, reserved, and unknown.
Their abbreviated forms are: alloc, block, comp, down, drain, drng,
fail, failg, futr, idle, maint, mix, npc, plnd, pow_dn, pow_up, resv,
and unk respectively.
\fBNOTE\fR: The suffix "*" identifies nodes that are presently
not responding.
.IP
.TP
\fBTMP_DISK\fR
Size of temporary disk space in megabytes on these nodes.
.IP
.SH "NODE STATE CODES"
.PP
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 suffixes and states are used:
.TP 4
\fB*\fR
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 \fBDOWN\fR state (except in the case of
\fBCOMPLETING\fR, \fBDRAINED\fR, \fBDRAINING\fR,
\fBFAIL\fR, \fBFAILING\fR nodes).
.IP
.TP
\fB~\fR
The node is presently in powered off.
.IP
.TP
\fB#\fR
The node is presently being powered up or configured.
.IP
.TP
\fB!\fR
The node is pending power down.
.IP
.TP
\fB%\fR
The node is presently being powered down.
.IP
.TP
\fB$\fR
The node is currently in a reservation with a flag value of "maintenance".
.IP
.TP
\fB@\fR
The node is pending reboot.
.IP
.TP
\fB^\fR
The node reboot was issued.
.IP
.TP
\fB\-\fR
The node is planned by the backfill scheduler for a higher priority job.
.IP
.TP 12
\fBALLOCATED\fR
The node has been allocated to one or more jobs.
.IP
.TP
\fBALLOCATED+\fR
The node is allocated to one or more active jobs plus
one or more jobs are in the process of COMPLETING.
.IP
.TP
\fBBLOCKED\fR
The node has been blocked by exclusive topo job.
.IP
.TP
\fBCOMPLETING\fR
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 \fBEpilog\fR
parameter description in the \fBslurm.conf\fR(5) man page for
more information.
.IP
.TP
\fBDOWN\fR
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 \fBReturnToService\fR
and \fBSlurmdTimeout\fR parameter descriptions in the
\fBslurm.conf\fR(5) man page for more information.
.IP
.TP
\fBDRAINED\fR
The node is unavailable for use per system administrator
request. See the \fBupdate node\fR command in the
\fBscontrol\fR(1) man page or the \fBslurm.conf\fR(5) man page
for more information.
.IP
.TP
\fBDRAINING\fR
The node is currently allocated a job, but will not be allocated
additional jobs. The node state will be changed to state
\fBDRAINED\fR when the last job on it completes. Nodes enter
this state per system administrator request. See the \fBupdate
node\fR command in the \fBscontrol\fR(1) man page or the
\fBslurm.conf\fR(5) man page for more information.
.IP
.TP
\fBFAIL\fR
The node is expected to fail soon and is unavailable for
use per system administrator request.
See the \fBupdate node\fR command in the \fBscontrol\fR(1)
man page or the \fBslurm.conf\fR(5) man page for more information.
.IP
.TP
\fBFAILING\fR
The node is currently executing a job, but is expected to fail
soon and is unavailable for use per system administrator request.
See the \fBupdate node\fR command in the \fBscontrol\fR(1)
man page or the \fBslurm.conf\fR(5) man page for more information.
.IP
.TP
\fBFUTURE\fR
The node is currently not fully configured, but expected to be available at
some point in the indefinite future for use.
.IP
.TP
\fBIDLE\fR
The node is not allocated to any jobs and is available for use.
.IP
.TP
\fBINVAL\fR
The node did not register correctly with the controller. This happens when
a node registers with less resources than configured in the slurm.conf file.
The node will clear from this state with a valid registration (i.e. a slurmd
restart is required).
.IP
.TP
\fBMAINT\fR
The node is currently in a reservation with a flag value of "maintenance".
.IP
.TP
\fBREBOOT_ISSUED\fR
A reboot request has been sent to the agent configured to handle this request.
.IP
.TP
\fBREBOOT_REQUESTED\fR
A request to reboot this node has been made, but hasn't been handled yet.
.IP
.TP
\fBMIXED\fR
The node has some of its CPUs \fBALLOCATED\fR while others are \fBIDLE\fR.
Or the node has a suspended job allocated to some of its TRES (e.g. memory).
.IP
.TP
\fBPERFCTRS (NPC)\fR
Network Performance Counters associated with this node are in use, rendering
this node as not usable for any other jobs
.IP
.TP
\fBPLANNED\fR
The node is planned by the backfill scheduler for a higher priority job.
.IP
.TP
\fBPOWER_DOWN\fR
The node is pending power down.
.IP
.TP
\fBPOWERED_DOWN\fR
The node is currently powered down and not capable of running any jobs.
.IP
.TP
\fBPOWERING_DOWN\fR
The node is in the process of powering down and not capable of running any jobs.
.IP
.TP
\fBPOWERING_UP\fR
The node is in the process of being powered up.
.IP
.TP
\fBRESERVED\fR
The node is in an advanced reservation and not generally available.
.IP
.TP
\fBUNKNOWN\fR
The Slurm controller has just started and the node's state
has not yet been determined.
.IP
.SH "PERFORMANCE"
.PP
Executing \fBsinfo\fR sends a remote procedure call to \fBslurmctld\fR. If
enough calls from \fBsinfo\fR or other Slurm client commands that send remote
procedure calls to the \fBslurmctld\fR daemon come in at once, it can result in
a degradation of performance of the \fBslurmctld\fR daemon, possibly resulting
in a denial of service.
.PP
Do not run \fBsinfo\fR or other Slurm client commands that send remote procedure
calls to \fBslurmctld\fR from loops in shell scripts or other programs. Ensure
that programs limit calls to \fBsinfo\fR to the minimum necessary for the
information you are trying to gather.
.SH "ENVIRONMENT VARIABLES"
.PP
Some \fBsinfo\fR options may
be set via environment variables. These environment variables,
along with their corresponding options, are listed below.
\fBNOTE\fR: Command line options will always override these settings.
.TP 20
\fBSINFO_ALL\fR
Same as \fB\-a, \-\-all\fR
.IP
.TP
\fBSINFO_FEDERATION\fR
Same as \fB\-\-federation\fR
.IP
.TP
\fBSCONTROL_FUTURE\fR
\fB\-F, \-\-future\fR
.IP
.TP
\fBSINFO_FORMAT\fR
Same as \fB\-o <output_format>, \-\-format=<output_format>\fR
.IP
.TP
\fBSINFO_LOCAL\fR
Same as \fB\-\-local\fR
.IP
.TP
\fBSINFO_PARTITION\fR
Same as \fB\-p <partition>, \-\-partition=<partition>\fR
.IP
.TP
\fBSINFO_SORT\fR
Same as \fB\-S <sort>, \-\-sort=<sort>\fR
.IP
.TP
\fBSLURM_CLUSTERS\fR
Same as \fB\-\-clusters\fR
.IP
.TP
\fBSLURM_CONF\fR
The location of the Slurm configuration file.
.IP
.TP
\fBSLURM_DEBUG_FLAGS\fR
Specify debug flags for sinfo to use. See DebugFlags in the
\fBslurm.conf\fR(5) man page for a full list of flags. The environment
variable takes precedence over the setting in the slurm.conf.
.IP
.TP
\fBSLURM_TIME_FORMAT\fR
Specify the format used to report time stamps. A value of \fIstandard\fR, the
default value, generates output in the form "year\-month\-dateThour:minute:second".
A value of \fIrelative\fR 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").
.IP
.SH "EXAMPLES"
.TP
Report basic node and partition configurations:
.IP
.nf
$ 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]
.fi
.TP
Report partition summary information:
.IP
.nf
$ 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]
.fi
.TP
Report more complete information about the partition debug:
.IP
.nf
$ 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]
.fi
.TP
Report only those nodes that are in state DRAINED:
.IP
.nf
$ sinfo \-\-states=drained
PARTITION AVAIL NODES TIMELIMIT STATE NODELIST
debug* up 2 30:00 drain adev[6\-7]
.fi
.TP
Report node\-oriented information with details and exact matches:
.IP
.nf
$ 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)
.fi
.TP
Report only down, drained and draining nodes and their reason field:
.IP
.nf
$ sinfo \-R
REASON NODELIST
Memory errors dev[0,5]
Not Responding dev8
.fi
.SH "COPYING"
Copyright (C) 2002\-2007 The Regents of the University of California.
Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
.br
Copyright (C) 2008\-2009 Lawrence Livermore National Security.
.br
Copyright (C) 2010\-2022 SchedMD LLC.
.LP
This file is part of Slurm, a resource management program.
For details, see <https://slurm.schedmd.com/>.
.LP
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.
.LP
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.
.SH "SEE ALSO"
\fBscontrol\fR(1), \fBsqueue\fR(1),
\fBslurm_load_ctl_conf\fR (3), \fBslurm_load_jobs\fR (3),
\fBslurm_load_node\fR (3),
\fBslurm_load_partitions\fR (3),
\fBslurm_reconfigure\fR (3), \fBslurm_shutdown\fR (3),
\fBslurm_update_job\fR (3), \fBslurm_update_node\fR (3),
\fBslurm_update_partition\fR (3),
\fBslurm.conf\fR(5)
|