Enhance pbs_snapshot to capture qstat & pbsnodes json outputs


#1

Hi,

This is to inform the community about an enhancement to pbs_snapshot.

Some background:
Qstat and pbsnodes commands offer json format outputs. json output is much easier to parse than the regular output that qstat and pbsnodes commands provide. So, pbs_snapshot should capture their json outputs as well.

Design doc:
https://pbspro.atlassian.net/wiki/spaces/PD/pages/932937731/Enhance+pbs+snapshot+to+capture+qstat+pbsnodes+json+outputs

Please provide feedback.

Thanks,
Ravi


#2

Github PR: https://github.com/PBSPro/pbspro/pull/916


#3

Thanks @agrawalravi90 , looks good to me!