Ancient, 18.08, aiming to upgrade in a couple months. Looks like it's here:

 show ENTITY=ID
              Display the state of the specified entity with the specified identification.  ENTITY may  be  aliases,  assoc_mgr,  bbstat,
              burstbuffer,  config,  daemons,  dwstat,  federation,  frontend, job, node, partition, powercap, reservation, slurmd, step,
              topology, hostlist, hostlistsorted or hostnames ID can be used to identify a specific element of the identified entity: job
              ID,  node  name,  partition  name, reservation name, 


It works on a newer cluster:

./showpartitions -N

Print partitions nodelists

Partition statistics for cluster testslurm at Fri Jan 17 14:43:58 EST 2025

   Partition     #Nodes     #CPU_cores  Cores_pending   Job_Nodes MaxJobTime Cores Mem/Node  NODELIST    

   Name State Total  Idle  Total   Idle Resorc  Other   Min   Max  Day-hr:mn /node     (GB)               

testpartition    up     1     1     48     48      0      0     1 infin   10-00:00    48     191  ax08

On Fri, Jan 17, 2025 at 2:12 PM Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk> wrote:
Hi Robert,

What's your version of Slurm?  We run 24.05.5.

The showpartitions tools compacts the list of nodenames using "scontrol
show hostlistsorted <nodelist>".  Can you please check your scontrol
manual page if "hostlistsorted" is documented?

Does the command work without -N?

Thanks,
Ole


On 17-01-2025 19:54, Robert Kudyba wrote:
> Hello Ole,
>
> If you'd like me to post this on the Git page LMK. Any idea why this
> error invalid encode argument with -N?
> ./showpartitions -N
> Print partitions nodelists
> Partition statistics for cluster axon at Fri Jan 17 13:51:43 EST 2025
>     Partition     #Nodes     #CPU_cores  Cores_pending   Job_Nodes
> MaxJobTime Cores Mem/Node  NODELIST
>     Name State Total  Idle  Total   Idle Resorc  Other   Min   Max  Day-
> hr:mn /node     (GB)

>
> On Fri, Jan 17, 2025 at 7:31 AM Ole Holm Nielsen via slurm-users <slurm-
> users@lists.schedmd.com <mailto:slurm-users@lists.schedmd.com>> wrote:
>
>     Dear Slurm users,
>
>     The "showpartitions" tool prints a Slurm cluster partition status
>     overview
>     with 1 line per partition. Color coding helps locating under- or
>     over-utilized partitions.
>
>     The Slurm "showpartitions" tool has now been updated with a new "-N"
>     flag
>     which prints the nodename list for each partition.
>
>     You can download this tool from
>     https://urldefense.proofpoint.com/v2/url?
>     u=https-3A__github.com_OleHolmNielsen_Slurm-5Ftools_tree_master_partitions&d=DwICAg&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=X0jL9y0sL4r4iU_qVtR3lLNo4tOL1ry_m7-psV3GejY&m=SvjV7A7QvPs0H4AmOiKvni-pI3DeHZmNgrCPf9ije3ftTN6STgomGCGHyuspdUFz&s=e2VRHqxuaDlLYggVv8eW9tkQqfXU332ucgmnqiU3Toc&e= <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_OleHolmNielsen_Slurm-5Ftools_tree_master_partitions&d=DwICAg&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=X0jL9y0sL4r4iU_qVtR3lLNo4tOL1ry_m7-psV3GejY&m=SvjV7A7QvPs0H4AmOiKvni-pI3DeHZmNgrCPf9ije3ftTN6STgomGCGHyuspdUFz&s=e2VRHqxuaDlLYggVv8eW9tkQqfXU332ucgmnqiU3Toc&e=>
>
>     If you have any issues or suggestions, please write to
>     Ole.H.Nielsen@fysik.dtu.dk <mailto:Ole.H.Nielsen@fysik.dtu.dk> or
>     open an issue on GitHub.
>
>     Best regards,
>     Ole
>
>     --
>     Ole Holm Nielsen
>     PhD, Senior HPC Officer
>     Department of Physics, Technical University of Denmark
>
>     --
>     slurm-users mailing list -- slurm-users@lists.schedmd.com
>     <mailto:slurm-users@lists.schedmd.com>
>     To unsubscribe send an email to slurm-users-leave@lists.schedmd.com
>     <mailto:slurm-users-leave@lists.schedmd.com>
>