On 6/2/20 12:16 PM, Sidhu, Khushwant wrote:
Do these parameters need to be enabled, plugins added/enabled ?
Could it be a database problem ?
(I've come to an previously installed slurm installation & have very little
slurm experience)
Yes, the database records may be purged after some time, see how to make
the setup in
https://wiki.fysik.dtu.dk/niflheim/Slurm_database#setting-database-purge-parameters
You can check your database purge configuration by:
$ grep -i purge /etc/slurm/slurmdbd.conf
Best regards,
Ole
-----Original Message-----
From: slurm-users <slurm-users-boun...@lists.schedmd.com> On Behalf Of Ole Holm
Nielsen
Sent: 02 June 2020 10:08
To: slurm-users@lists.schedmd.com
Subject: Re: [slurm-users] sacct
On 6/2/20 10:16 AM, Sidhu, Khushwant wrote:
When a job is running & I use the command:
Sacct –format “AveCPU, AveDiskRead, AveDiskWrite,user” –j 12345
I get values for all parameters.
However, when a job is completed, the same command returns no values
for all but ‘user’.
Is there a reason for this ?
This works for me with a completed job:
# sacct -j 2507000 --format AveCPU,AveDiskRead,AveDiskWrite,user
AveCPU AveDiskRead AveDiskWrite User
---------- -------------- -------------- ---------
xxxxxx
00:00:00 0.04M 0.00M
00:00:00 0.00M 0
01:00:22 1.63M 1.66M
We run Slurm 19.05.6.
/Ole
Disclaimer: This email and any attachments are sent in strictest confidence for
the sole use of the addressee and may contain legally privileged, confidential,
and proprietary data. If you are not the intended recipient, please advise the
sender by replying promptly to this email and then delete and destroy this
email and any attachments without any further use, copying or forwarding.