Hi Rémi M,

I think you may need:

sstat 159.batch

for scripts without any srun/MPI steps.

Cheers,

Ben


From: remi marchal [mailto:[email protected]]
Sent: 02 June 2016 10:50
To: slurm-dev
Subject: [slurm-dev] Re: sacct -j

Dear Rémi,

the JobAcctGather is enabled (see par of my slurm.conf below)
JobAcctGatherType=jobacct_gather/linux
JobAcctGatherFrequency=30

However, when I type the following command, I have this
sstat 159
       JobID  MaxVMSize  MaxVMSizeNode  MaxVMSizeTask  AveVMSize     MaxRSS 
MaxRSSNode MaxRSSTask     AveRSS MaxPages MaxPagesNode   MaxPagesTask   
AvePages     MinCPU MinCPUNode MinCPUTask     AveCPU   NTasks AveCPUFreq 
ReqCPUFreqMin ReqCPUFreqMax ReqCPUFreqGov ConsumedEnergy  MaxDiskRead 
MaxDiskReadNode MaxDiskReadTask  AveDiskRead MaxDiskWrite MaxDiskWriteNode 
MaxDiskWriteTask AveDiskWrite
------------ ---------- -------------- -------------- ---------- ---------- 
---------- ---------- ---------- -------- ------------ -------------- 
---------- ---------- ---------- ---------- ---------- -------- ---------- 
------------- ------------- ------------- -------------- ------------ 
--------------- --------------- ------------ ------------ ---------------- 
---------------- ------------
sstat: error: no steps running for job 159


Regards,

Rémi


----------------------
Rémi MARCHAL
Ingénieur d'étude
Institut des sciences chimiques de Rennes
Equipe Chimie Théorique Inorganique
Campus de Beaulieu- Batiment 10B -
F-35043 RENNES Cedex
Mail: [email protected]<mailto:[email protected]>
Tel: +33 (0)2 23 23 80 33
site web: https://cluster-cti.ensc-rennes.fr/index.php



Le 2 juin 2016 à 10:11, Rémi Palancher <[email protected]<mailto:[email protected]>> 
a écrit :


Hi Rémi,

Le 02/06/2016 à 07:57, remi marchal a écrit :

Dear slurm users,

I am quite new in the community and I would like to monitor the running
jobs.

Looking through internet, I found this command:
sacct -j

Please note that sacct will not report resources usage until the job is over. 
This command get data out of the accounting database, which is filled with all 
usage statistics at job completion only.

Use `sstat <job>` instead to get job resource usage statistics while the job is 
running. This feature requires the JobAcctGather plugin to be enabled.

Best,
Rémi

Reply via email to