<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>They're also listed on the sacct online man page: <br>
</p>
<p><a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/sacct.html">https://slurm.schedmd.com/sacct.html</a></p>
<p>Scroll down until you see the text box with the white text on a
black background - you can't miss it. <br>
</p>
<p>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: <br>
</p>
<p>
<blockquote type="cite">
<dl compact="compact">
<dt><b>-n</b><b>,</b> <b>--noheader</b></dt>
<dd>
No heading will be added to the output. The default action
is to
display a header.
</dd>
</dl>
</blockquote>
</p>
<p>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. <br>
</p>
<p>--<br>
Prentice<br>
</p>
<div class="moz-cite-prefix">On 3/3/2021 10:54 PM, Brian Andrus
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:8e6453ac-ab81-7fee-6663-dce163503aa9@gmail.com">man
sacct shows us:
<br>
<br>
-e, --helpformat
<br>
Print a list of fields that can be specified with the --format
option.
<br>
<br>
Brian Andrus
<br>
<br>
<br>
On 3/3/2021 5:42 PM, <a class="moz-txt-link-abbreviated" href="mailto:xiaojinghu93@163.com">xiaojinghu93@163.com</a> wrote:
<br>
<blockquote type="cite">Hello, guys,
<br>
<br>
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.
<br>
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?
<br>
<br>
Any help is greatly appreciated!
<br>
<br>
Best Regards,
<br>
Xiaojing
<br>
<br>
</blockquote>
<br>
</blockquote>
</body>
</html>