[slurm-users] How to read job accounting data long output? `sacct -l`

Davide DelVento davide.quantum at gmail.com
Wed Dec 14 17:15:32 UTC 2022


It would be very useful if there were a way (perhaps a custom script
parsing the sacct output) to provide the information in the same
format as "scontrol show job"

Has anybody attempted to do that?


On Wed, Dec 14, 2022 at 1:25 AM Will Furnass <w.furnass at sheffield.ac.uk> wrote:
>
> If you pipe output into 'less -S' then you get horizontal scrolling.
>
> Will
>
> On Wed, 14 Dec 2022, 07:03 Chandler Sobel-Sorenson, <chandler at genome.arizona.edu> wrote:
>>
>> Is there a recommended way to read output from `sacct` involving `-l` or `--long` option?  I have dual monitors and shrunk the terminal's font down to 6 pt or so until I could barely read it, giving me 675 columns.  This was still not enough...
>>
>> Perhaps there is a way of displaying it so the lines don't wrap and I can use left/right arrow keys to scroll the output, much like `systemctl` and `journalctl` can do?
>>
>> Perhaps there is a way to import it into a spreadsheet?
>>
>> This was with version 19.05 at least.  Apologies if the output has changed in newer versions...
>>
>> Thanks
>>
>>



More information about the slurm-users mailing list