# Checking the Status of Computing Nodes

You can check the general status the computing nodes by using the `sinfo` command, which will display the following:

```bash
PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST
normal*      up 14-00:00:0      1 drain* c8
normal*      up 14-00:00:0      1  drain c39
normal*      up 14-00:00:0     18    mix c[5-7,9-14,16-19,21-22,24-26]
normal*      up 14-00:00:0      1  alloc c40
normal*      up 14-00:00:0     14   idle c[15,20,27-38]
bcc          up 14-00:00:0      5    mix b[13-16],c2
bcc          up 14-00:00:0      4   idle b17,c[1,3-4]
kellis       up 28-00:00:0     12    mix b[1-12]
```

We've also provided a custom command, `nodeInf`, that will give more detailed information about each node. For example:

```bash
NODELIST PARTITION CPUS(A/I/O/T) CPU_LOAD FREE_MEM   MEMORY    STATE
      b1    kellis    82/14/0/96   145.58   405507   768000    mixed
      b2    kellis    84/12/0/96   302.81   504957   768000    mixed
...
      c1       bcc     0/32/0/32     0.01   127590   128000     idle
      c2       bcc     8/24/0/32    15.34      380   128000    mixed
      c3       bcc     0/32/0/32     0.01   127534   128000     idle
      c4       bcc     0/32/0/32     0.01   127505   128000     idle
      c5   normal*     2/14/0/16     0.01   127561   128000    mixed
      c6   normal*     2/14/0/16    18.90      344   128000    mixed
...
```

* `NODELIST` - The name of the node
* `PARTITION` - The partition which the node belongs to
* `CPUS (A/I/O/T)` - Enumerates what CPUs are Allocated/Idle/Other/Total # of CPUS
* `CPU_LOAD` - The load on the CPU
* `FREE_MEM` - The amount of free RAM on the node
* `MEMORY` - The total amount of RAM on the node
* `STATE` - the state of the node. Idle means it's not in use, mixed means it's in use but still has resources available, drained means it's fully in use.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://igb.mit.edu/mini-courses/advanced-utilization-of-igb-computational-resources/slurm/checking-the-status-of-computing-nodes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
