[slurm-users] sacct output in tabular form

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Wed Aug 25 07:27:22 UTC 2021


Hi Sven,

On 8/25/21 7:41 AM, Sternberger, Sven wrote:
> this is a simple wrapper for sacct which prints the
> output from sacct as table. So you can make a
> "sacctml -j foo --long" even without two 8k displays ;-)

This script works nicely, thanks!  However, in stead of an extremely wide 
display one now needs a very tall display :-)

$ sacctml -j 3939941 --long | wc -l
165

A suggestion:  How about suppressing output lines that contain empty 
fields, and perhaps also fields containing just 0?  For example:

MaxDiskRead:
MaxDiskReadNode:
MaxDiskReadTask:
AveDiskRead:
AveCPUFreq: 0
ReqCPUFreqMin: 0
ReqCPUFreqMax: 0
ReqCPUFreqGov: 0
ConsumedEnergy: 0

Thanks,
Ole



More information about the slurm-users mailing list