On 10/26/20 6:42 AM, Chaofeng Zhang wrote:
I  can see some cpu usage information from command sstat and sacct, but that is not what I want. I want to see the real-time cpu usage like the linux top command.

The "pestat" script gives you CPU load information and other data for each node in the cluster. Download pestat from https://github.com/OleHolmNielsen/Slurm_tools/tree/master/pestat

I have written other Slurm scripts to print, for example, the user processes on the nodes. Look for "psnode" in https://github.com/OleHolmNielsen/Slurm_tools/tree/master/nodes

See https://github.com/OleHolmNielsen/Slurm_tools for my collection of tools.

--
Ole Holm Nielsen
PhD, Senior HPC Officer
Department of Physics, Technical University of Denmark

Reply via email to