Hi,
I have scripts written for torque that utilize the ‘-x’ option for the pbsnodes command. This -x option is equivalent to -a but formats the output in an XML format.
It doesn’t appear that this option is available in pbspro. Is that correct? If not available, is it planned?
Many thanks
My understanding is the conceptual equivalent would be to use:
pbsnodes -a -Fjson
or
pbsnodes -a Fdsv
Both will produce easy-to-parse structured output. Unfortunately neither are xml (so obviously the code that consumes the output would also need to change).
Great, thanks very much for your suggestion