I am trying to print only the idle nodes of a linux cluster. I only need the names of the idle nodes. But using the command
sinfo %C | grep idle
this command is giving details such as PARTITION AVAIL TIMELIMIT NODES STATE NODELIST but I only requires the node list. Is there any way of doing this?
Thank you.