Does OpenPBS have an equivalent of bhosts in LSF? I’d like to see how many jobs are running on each node.
pbsnodes -aS can give me the node list, but not how many jobs.
Using the json output of qstat and some jq-foo I manage to get something but it seems like there’d be an easier way…
qstat -f -F json | jq .Jobs.exec_host | cut -d ‘/’ -f1 | tr -d ‘"’ | sort | uniq -c 64 hpc-p-vdg-01a01