Hi Noelia,
I've tested slurmreportmonth on Slurm 16.05 and 17.02 systems. Do you
run an older version?
You could run the script to trace the commands executed:
sh -x slurmreportmonth
The call of sreport I get this way is:
/usr/bin/sreport -t hourper --tres=cpu,gpu cluster
AccountUtilizationByUser Start=060117 End=070117 tree
/Ole
On 07/21/2017 01:21 PM, Luque, N.B. wrote:
Thanks for these tools!
I have one question, I download slurmreportmonth file and when I run it
without any option I get an empty file in /tmp/Slurm_report.June_2017
Am I doing something wrong?
When I do :
# sreport cluster accountutilisationbyuser
format=Accounts,Cluster,CPUCount,Login,Proper,Used start=06/01/17
end=06/31/17
Then I get the numbers of CPU minutes used.
I also tried to do :
# ./slurmreportmonth -s 0501 -e 0531
Start date 0501
End date 0531
sreport: unrecognized option '--tres=cpu,gpu'
Try "sreport --help" for more information
Report generated to file /tmp/Slurm_report.0501_0531
But again I got an empty file.
Thanks for your help!
Best regards,
Noelia
Dr. Noelia B. Luque
=========================
Vrije Universiteit, Theoretical Chemistry
De Boelelaan 1083
1081 HV Amsterdam, The Netherlands
T +31 20 598 7620
(at the office Tuesday and Friday From 9:30am to 1:30pm)
On 20 Jul 2017, at 15:57, Ole Holm Nielsen <[email protected]
<mailto:[email protected]>> wrote:
As a small contribution to the Slurm community, I've moved my
collection of Slurm tools to GitHub at
https://github.com/OleHolmNielsen/Slurm_tools. These are tools which
I feel makes the daily cluster monitoring and management a little easier.
The following Slurm tools are available:
* pestat Prints a Slurm cluster nodes status with 1 line per node and
job info.
* slurmreportmonth Generate monthly accounting statistics from Slurm
using the sreport command.
* showuserjobs Print the current node status and batch jobs status
broken down into userids.
* slurmibtopology Infiniband topology tool for Slurm.
* Slurm triggers scripts.
* Scripts for managing nodes.
* Scripts for managing jobs.
The tools "pestat" and "slurmibtopology" have previously been
announced to this list, but future updates will be on GitHub only.
I would also like to mention our Slurm deployment HowTo guide at
https://wiki.fysik.dtu.dk/niflheim/SLURM
/Ole