They're also listed on the sacct online man page:
https://slurm.schedmd.com/sacct.html
Scroll down until you see the text box with the white text on a black
background - you can't miss it.
Also, depending how your parsing the output, you might want to skip
printing out the headers, which can be done with the -n or --noheader
options. For the link above:
*-n**,* *--noheader*
No heading will be added to the output. The default action is to
display a header.
However, I recommend leaving the headers in until you're sure you have
your format syntax correct, to make sure you're getting all the columns
you expect.
--
Prentice
On 3/3/2021 10:54 PM, Brian Andrus wrote:
man sacct shows us:
-e, --helpformat
Print a list of fields that can be specified with the --format
option.
Brian Andrus
On 3/3/2021 5:42 PM, xiaojingh...@163.com wrote:
Hello, guys,
I am doing a parsing job on the output of the sacct command and I
know that the —format option can specify the fields you'd like to be
outputted.
The difficulty I am facing is that I am in lack of info about the
fields. For example, what are the possible values for those fields?
What are the default values of the fields if slurm doesn’t have it?
Is there any detailed documentation about those fields?
Any help is greatly appreciated!
Best Regards,
Xiaojing