Interface 1: As an admin or user, I would like qstat to be able to output full job attribute information in JSON format, so that I can more easily write scripts consuming this information.
- Visibility: Public
- Change Control: Stable
- Details: qstat -f will use -Fjson option to print the output in JSON format(http://www.json.org/).
- Similar to pbsnodes -av -Fjson, timestamp, pbs_version and pbs_server will be used as the prologue of the output.
Usage:
qstat -f -Fjson
qstat -f -Fjson <job_id>
Example: