[slurm-users] About sacct --format: how can I get info about the fields

Marcus Boden mboden at gwdg.de
Fri Mar 5 07:59:48 UTC 2021


Hi Xiaojing,

my experience here is: you will have to try it out and see what works. 
At least that's what I do whenever I parse sacct, as I did not find a 
detailed description anywhere. The manpage is quite incomplete in that 
regard.

Best,
Marcus

On 05.03.21 03:02, xiaojinghu93 at 163.com wrote:
> Hello, slurm users and Brian,
> 
> Thanks a lot for your reply. The thing is actually I know the fields. I just need to know detailed info about them. For example, you may get an “Unknown” for some time fields. And the maxVMSize field is an empty string  except for some job steps. I need to know the possible values for each filed to do some calculation on them. But lack of info makes it very difficult.
> It seems like there is no documentation on it except for the web pages of sacct command.
> 
>> 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
> 

-- 
Marcus Vincent Boden, M.Sc.
Arbeitsgruppe eScience, HPC-Team
Tel.:   +49 (0)551 201-2191, E-Mail: mboden at gwdg.de
-------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG)
Am Faßberg 11, 37077 Göttingen, URL: https://www.gwdg.de

Support: Tel.: +49 551 201-1523, URL: https://www.gwdg.de/support
Sekretariat: Tel.: +49 551 201-1510, Fax: -2150, E-Mail: gwdg at gwdg.de

Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lossau
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598

Zertifiziert nach ISO 9001
-------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5376 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210305/cff3a10b/attachment.bin>


More information about the slurm-users mailing list