SACCT: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
For instance at the login screen the command: sacct -a gives the following result:
For instance at the login screen the command: sacct -a gives the following result:


[test001@nfs01 ~]$ sacct -a
'''[test001@nfs01 ~]$ sacct -a'''


[[File:sacct capture.jpg]]
[[File:sacct capture.jpg]]
Line 10: Line 10:
Better is to modify this command with special parameters to see what you are using from the HPC.
Better is to modify this command with special parameters to see what you are using from the HPC.


[pollm001@nfs01 ~]$ sacct -X --format=account%15,User,Partition%20,JobID,JobName,ncpus,nnodes,NodeList,Start,alloccpus,cputime%12,cputimeraw,state -S 03.01.14 -E 04.01.14 >report20140304.txt
'''[test001@nfs01 ~]$ sacct -X --format=account%15,User,Partition%20,JobID,JobName,ncpus,nnodes,NodeList,Start,alloccpus,cputime%12,cputimeraw,state -S 03.01.14 -E 04.01.14 >report20140304.txt'''


The txt-file can be uploaded in Excel. This gives you the next overview.  
The txt-file can be uploaded in Excel. This gives you the next overview.  
Cputimeraw is the time of cpu-usage in seconds.
Cputimeraw is the time of cpu-usage in seconds. The parameters "-S 03.01.14 -E 04.01.14" give you the start date and the end date of period you want to present.


[[File:sacct uitgebreid.jpg]]
[[File:sacct uitgebreid.jpg]]

Revision as of 11:42, 4 April 2014

The command sacct is ment to show your costs in the HPC Agrogenomics.

For instance at the login screen the command: sacct -a gives the following result:

[test001@nfs01 ~]$ sacct -a

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 the HPC.

[test001@nfs01 ~]$ sacct -X --format=account%15,User,Partition%20,JobID,JobName,ncpus,nnodes,NodeList,Start,alloccpus,cputime%12,cputimeraw,state -S 03.01.14 -E 04.01.14 >report20140304.txt

The txt-file can be uploaded in Excel. This gives you the next overview. Cputimeraw is the time of cpu-usage in seconds. The parameters "-S 03.01.14 -E 04.01.14" give you the start date and the end date of period you want to present.

Sacct uitgebreid.jpg


Next overview gives an idea of the costs.


Cpu time raw.jpg