Hi Bjørn-Helge, 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. Best Marcus Am 14.12.2022 um 08:19 schrieb Bjørn-Helge Mevik:
Chandler Sobel-Sorenson <chand...@genome.arizona.edu> writes:Perhaps there is a way to import it into a spreadsheet?You can use `sacct -P -l`, which gives you a '|' separated output, which should be possible to import in a spread sheet. (Personally I only use `-l` when I'm looking for the name of an attribute and am to lazy to read the man page. Then I use -o to specify what I want returned.) Also, in newer versions at least, there is --json and --yaml to give you output which you can parse with other tools (or read, if you really want :).
-- 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