<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hello,<br></div><div><br data-mce-bogus="1"></div><div>You can use `scontrol show nodes` (for all nodes) or `scontrol show node <nodename(s)>` (for one or more nodes).<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>For example :<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>```</div><div>$ scontrol show node node0001<br>NodeName=node0001 Arch=x86_64 </div><div>[…]<br> State=DOWN+DRAIN+NOT_RESPONDING</div><div>[…]<br>```<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>With that it would be quite easy to write a small script if you want a specific output.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Regards,<br data-mce-bogus="1"></div><div>Guillaume<br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"Brian Andrus" <toomuchit@gmail.com><br><b>À: </b>slurm-users@lists.schedmd.com<br><b>Envoyé: </b>Dimanche 26 Juin 2022 15:36:53<br><b>Objet: </b>Re: [slurm-users] detailed worker state with sinfo<br></div><br><div data-marker="__QUOTED_TEXT__"><p>Mike,</p>
<p>There are not such differences for draining nodes.</p>
<p>DRNG = Draining</p>
<p>DRAIN = Drained</p>
<p>So if a node is not fully drained yet, it is draining</p>
<p>It would never be IDLE + DRAINING because it can immediately
become drained.</p>
<p></p><dt style="color:rgb( 70 , 84 , 92 );font-family:'source sans pro' , 'helvetica' , 'arial' , sans-serif;font-size:20px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb( 255 , 255 , 255 )"><span data-mce-style="font-size: small;" style="font-size: small;" size="2"><b style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline">STATE</b></span></dt>
<dd style="color:rgb( 70 , 84 , 92 );font-family:'source sans pro' , 'helvetica' , 'arial' , sans-serif;font-size:20px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb( 255 , 255 , 255 )"><span data-mce-style="font-size: small;" style="font-size: small;" size="2">State
of the nodes. Possible states include: allocated, completing,
down, drained, draining, fail, failing, future, idle, maint,
mixed, perfctrs, planned, power_down, power_up, reserved, and
unknown. Their abbreviated forms are: alloc, comp, down,
drain, drng, fail, failg, futr, idle, maint, mix, npc, plnd,
pow_dn, pow_up, resv, and unk respectively.</span>
<p style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-size:inherit;line-height:1.5em;font-family:inherit;vertical-align:baseline"><span data-mce-style="font-size: small;" style="font-size: small;" size="2"><b style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline">NOTE</b>: The suffix "*"
identifies nodes that are presently not responding.</span></p>
</dd>
<div>Brian Andrus</div>
<div><br>
</div>
<div>On 6/26/2022 5:39 AM, <a href="mailto:z148x@arcor.de" target="_blank" rel="nofollow noopener noreferrer">z148x@arcor.de</a>
wrote:<br>
</div>
<blockquote>
<pre class="moz-quote-pre">Hello,
if I call "sinfo -o %all", the worker state includes only a single state
word like "DRNG".
It is clearer in the slurm database:
ALLOCATED + DRAIN = DRNG, compared to the db entry.
Where can I get a list of what all the sinfo state names mean compared
to the database?
MIX + DRAIN = ?
IDLE + DRAIN = ?
...
Regards,
Mike
</pre>
</blockquote><br></div></div></body></html>