SACCT: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
mNo edit summary
Phase 1 § 4 redirect: content merged into Monitoring Jobs (P1.4.7) (via update-page on MediaWiki MCP Server)
Tag: New redirect
 
Line 1: Line 1:
The command [http://slurm.schedmd.com/sacct.html sacct] is meant to show your usage of  Anunna.
#REDIRECT [[Monitoring Jobs]]
 
For instance at the login screen the command: sacct -a gives the following result:
 
<syntaxhighlight lang="bash">
user001@login200:~$ sacct -a
</syntaxhighlight>[[File:sacct capture.jpg]]
 
It is a standard view to see all the users jobs of that day.
Better is to modify this command with special parameters to see what you are using from Anunna.<syntaxhighlight lang="bash">
user001@login200:~$ sacct -P -X --delimiter=',' -S 2026-01-01 -E 2026-02-01  \
--format=comment%15,User,Partition%20,JobID,JobName,ncpus,nnodes,NodeList,Start,alloccpus,cputime%12,cputimeraw,state  > usage_report_$(date -I).csv
 
</syntaxhighlight>The csv-file can be uploaded in Excel. This gives you the next overview.
Cputimeraw is the time of cpu-usage in seconds. The parameters "-S 2026-01-01 -E 2026-02-01" give you the start date and the end date of period you want to present.
 
[[File:sacct uitgebreid.jpg]]

Latest revision as of 09:55, 16 June 2026

Redirect to: