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

2022-12-15 Thread Bjørn-Helge Mevik
Marcus Wagner writes: > That depends on what is meant with formatting argument. Yes, they could surely have defined that. > etc. And I would assume, that -S, -E and -T are filtering options, not > formatting options. I'd describe -T as a formatting option: -T, --truncate

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

2022-12-14 Thread Marcus Wagner
Am 15.12.2022 um 08:23 schrieb Bjørn-Helge Mevik: Marcus Wagner 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

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

2022-12-14 Thread Bjørn-Helge Mevik
Marcus Wagner 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 -E > ) no steps were recorded. > Using sacct

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

2022-12-14 Thread Marcus Wagner
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 -E ) no steps were recorded. Using sacct -j --json instead

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

2022-12-14 Thread Paul Edmon
The seff utility (in slurm-contribs) also gives good summary info. You can also you --parsable to make things more managable. -Paul Edmon- On 12/14/22 3:41 PM, Ross Dickson wrote: I wrote a simple Python script to transpose the output of sacct from a row into a column.  See if it meets your

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

2022-12-14 Thread Ross Dickson
I wrote a simple Python script to transpose the output of sacct from a row into a column. See if it meets your needs. https://github.com/ComputeCanada/slurm_utils/blob/master/sacct-all.py - Ross Dickson Dalhousie University / ACENET / Digital Research Alliance of Canada On Wed, Dec 14,

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

2022-12-14 Thread Davide DelVento
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 wrote: > > If you pipe output into 'less -S' then

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

2022-12-14 Thread Will Furnass
If you pipe output into 'less -S' then you get horizontal scrolling. Will On Wed, 14 Dec 2022, 07:03 Chandler Sobel-Sorenson, < chand...@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

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

2022-12-13 Thread Bjørn-Helge Mevik
Chandler Sobel-Sorenson 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

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

2022-12-13 Thread Chandler Sobel-Sorenson
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