For example, I want to know the exact number of cpus on the node. How do I find this?
You can use the command scontrol show node <nodeID>
to get all information about your node. For example. scontrol show node d3058
. For more information, please refer manpage of scontrol https://slurm.schedmd.com/scontrol.html