[slurm-users] Slurm Accounting Question
Loris Bennett
loris.bennett at fu-berlin.de
Tue Nov 20 23:38:36 MST 2018
Hi Douglas,
Douglas Duckworth <dod2014 at med.cornell.edu> writes:
> Hi
>
> We are in the process of migrating several clusters from SGE to Slurm.
>
> We discovered that accounting does not show what command a previous
> job ran. For currently running jobs scontrol for example will show:
>
> JobId=33028 JobName=bash
> Command=bash
>
> Yet we would like to have that stored in accounting as it's useful for
> jobs that existed ungracefully.
>
> Any way to accomplish with Slurm version 17.02?
>
> "sacct -e" does not show "Command" as a possible field.
As far as I am aware, Slurm does not retain this information. Even if
it did, for jobs started with 'sbatch' the 'Command' field contains the
name of the batch file, which may not be that useful.
An approach some people have mentioned using is collecting the
information via a submit plugin and then storing it outside of Slurm's
standard accounting.
Cheers,
Loris
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.bennett at fu-berlin.de
More information about the slurm-users
mailing list