In the development of the cluster management system, we use PBSPro as a tool for job management, how to get the job information in real time, through the database or command line query?

Also, you can use -F json with qstat and pbsnodes commands which will dump results in json which then can be easily parsed by your programs.
Usage: qstat -f -F json
pbsnodes -av -F json

1 Like