Availability of -x option for pbsnodes

#1

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

0 Likes

#2

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).

0 Likes

#3

Great, thanks very much for your suggestion

0 Likes