Hi Danny,

Danny Auble <[email protected]> writes:

> Sacct dump and formatted dump will be deprecated in future versions of
> slurm.  See RELEASE_NOTES file in 2.5. They are most likely out of
> date and incorrect as you have noticed.
>
> I would suggest using something else like the perl api or the format
> option of sacct to accomplish your goal.

I've been looking into this.  Using the format option of sacct seems to
have the disadvantage of it being harder to extract a MaxRSS value for a
completed job.  With the dump, I could just grep out the records
containing JOB_TERMINATED.  I thought that sacct's option -X might help,
but the MaxRSS values are not accumulated.

With the Perl API, I can get some information about running jobs but
have been unable to use job_step_stats to obtain data for completed
jobs.  I can be more specific about the problems, but perhaps you have
some examples of the usage of the API which might help me.

Thanks

Loris


> Loris Bennett <[email protected]> wrote:
>
>     
>     Hi,
>     
>     I was looking at the format of the dump output of 'sacct' and
>     comparing this to the man page.  The output I see corresponds to
>     what I find in the function
>     
>     do_dump
>     
>     in
>     
>     sacct/options.c
>     
>     but does not tally with the man page.  For example, the
>     JOB_TERMINATED record supposedly has 37 fields, but actually has
>     41.  The field I was particularly interested in was 'MaxRSS'.  The
>     man page says that field 23 is 'rss', but in fact it seems to be
>     'MaxVMSize'.
>     
>     I'm using version 2.2.7, but in the current git version, the
>     corresponding parts of 'do_dump' and of the man page on the
>     website appear unchanged.
>     
>     Is this indeed a documentation error?
>     
>     Regards
>     
>     Loris
>     
>

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to