...
Code Block |
---|
[salexan5@tlog1 teton-cascade]$ sacct -e Account AdminComment AllocCPUS AllocGRES AllocNodes AllocTRES AssocID AveCPU AveCPUFreq AveDiskRead AveDiskWrite AvePages AveRSS AveVMSize BlockID Cluster Comment Constraints ConsumedEnergy ConsumedEnergyRaw CPUTime CPUTimeRAW DerivedExitCode Elapsed ElapsedRaw Eligible End ExitCode Flags GID Group JobID JobIDRaw JobName Layout MaxDiskRead MaxDiskReadNode MaxDiskReadTask MaxDiskWrite MaxDiskWriteNode MaxDiskWriteTask MaxPages MaxPagesNode MaxPagesTask MaxRSS MaxRSSNode MaxRSSTask MaxVMSize MaxVMSizeNode MaxVMSizeTask McsLabel MinCPU MinCPUNode MinCPUTask NCPUS NNodes NodeList NTasks Priority Partition QOS QOSRAW Reason ReqCPUFreq ReqCPUFreqMin ReqCPUFreqMax ReqCPUFreqGov ReqCPUS ReqGRES ReqMem ReqNodes ReqTRES Reservation ReservationId Reserved ResvCPU ResvCPURAW Start State Submit Suspended SystemCPU SystemComment Timelimit TimelimitRaw TotalCPU TRESUsageInAve TRESUsageInMax TRESUsageInMaxNode TRESUsageInMaxTask TRESUsageInMin TRESUsageInMinNode TRESUsageInMinTask TRESUsageInTot TRESUsageOutAve TRESUsageOutMax TRESUsageOutMaxNode TRESUsageOutMaxTask TRESUsageOutMin TRESUsageOutMinNode TRESUsageOutMinTask TRESUsageOutTot UID User UserCPU WCKey WCKeyID WorkDir... |
Example
Code Block |
---|
[]$ sacct --format="JobID%20,JobName,User,Partition,NodeList,Elapsed,State,ExitCode,MaxRSS,AveRSS,AveCPU" -j 12347496 JobID JobName User Partition NodeList Elapsed State ExitCode MaxRSS AveRSS AveCPU -------------------- ---------- --------- ---------- --------------- ---------- ---------- -------- ---------- ---------- ---------- 12347496 vsearch salexan5 teton-cas+ t465 02:24:01 COMPLETED 0:0 12347496.batch batch t465 02:24:01 COMPLETED 0:0 105460K 105460K 3-23:17:32 |
...
Code Block |
---|
[]$ seff 12348706 Memory Utilized: 2.63 MB Memory Efficiency: 0.07% of 3.91 GB []$ sacct --format="JobID%20,NCPUS,ReqMEM,MaxRSS,AveRSS,AllocTRES%40" -j 12348706 JobID NCPUS ReqMem MaxRSS AveRSS AllocTRES -------------------- ---------- ---------- ---------- ---------- ---------------------------------------- 12348706 4 1000Mc billing=4,cpu=4,mem=4000M,node=1 12348706.batch 4 1000Mc 2696K 2696K cpu=4,mem=4000M,node=1 |
Code Block |
---|
[]$ seff 12348707
Memory Utilized: 2.63 MB
Memory Efficiency: 0.02% of 15.62 GB
[]$ sacct --format="JobID%20,NCPUS,ReqMEM,MaxRSS,AveRSS,AllocTRES%40" -j 12348707
JobID NCPUS ReqMem MaxRSS AveRSS AllocTRES
-------------------- ---------- ---------- ---------- ---------- ----------------------------------------
12348707 16 1000Mc billing=16,cpu=16,mem=16000M,node=1
12348707.batch 16 1000Mc 2692K 2692K cpu=16,mem=16000M,node=1 |
Using the definitions as defined in the sacct
documentation:
...
Code Block |
---|
[]$ seff 12348706 Job Wall-clock time: 00:00:27 []$ sacct --format="JobID%20,NCPUS,Timelimit,Elapsed" -j 12348706 JobID NCPUS Timelimit Elapsed -------------------- ---------- ---------- ---------- 12348706 4 00:05:00 00:00:27 12348706.batch 4 00:00:27 |
Code Block |
---|
[]$ seff 12348707
Job Wall-clock time: 00:00:22
[salexan5@tlog1 posix]$ sacct --format="JobID%20,NCPUS,Timelimit,Elapsed" -j 12348707
JobID NCPUS Timelimit Elapsed
-------------------- ---------- ---------- ----------
12348707 16 00:05:00 00:00:22
12348707.batch 16 00:00:22 |
Although 5 minutes was requested for both, they both took about the same time 27 and 22 seconds. Why is this worth considering?
...