Am 15.12.2022 um 08:23 schrieb Bjørn-Helge Mevik:
Marcus Wagner <wag...@itc.rwth-aachen.de> writes:it it important to know, that the json output seems to be broken. First of all, it does not (compared to the normal output) obey to the truncate option -T. But more important, I saw a job, where in a "day output" (-S <date> -E <date+1day>) no steps were recorded. Using sacct -j <jobid> --json instead showed that job WITH steps.It is hard to call it "broken" when it is documented behaviour: --json Dump job information as JSON. All other formatting arguments will be ignored
That depends on what is meant with formatting argument. To me, formatting arguments are "-b", "-l", "-o", "-p|-P" Instead, I can use filtering arguments with --json, like "-u", "-p" etc. And I would assume, that -S, -E and -T are filtering options, not formatting options. But as I explained before, not obeying to -T is bad behaviour. That is nothing I would call "broken". But getting sometimes no steps for a job (if in a larger JSON-output with many jobs) and then getting the steps, if one asks specifically for that jobid. That is something I would call broken. Best Marcus -- Dipl.-Inf. Marcus Wagner IT Center Gruppe: Server, Storage, HPC Abteilung: Systeme und Betrieb RWTH Aachen University Seffenter Weg 23 52074 Aachen Tel: +49 241 80-24383 Fax: +49 241 80-624383 wag...@itc.rwth-aachen.de www.itc.rwth-aachen.de Social Media Kanäle des IT Centers: https://blog.rwth-aachen.de/itc/ https://www.facebook.com/itcenterrwth https://www.linkedin.com/company/itcenterrwth https://twitter.com/ITCenterRWTH https://www.youtube.com/channel/UCKKDJJukeRwO0LP-ac8x8rQ
smime.p7s
Description: S/MIME Cryptographic Signature