* On custom sacct1.sh, include job (most recent) state as well.
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
# - The timing field width accommodates up to hundreds of days.
|
# - The timing field width accommodates up to hundreds of days.
|
||||||
# - The accounting records corresponding to job steps are eliminated.
|
# - The accounting records corresponding to job steps are eliminated.
|
||||||
|
|
||||||
FIELDS_PRESET1=JobID,JobIDRaw,JobName%-20,User,Partition,Elapsed%12,NCPUS%5,CPUTime%12,TotalCPU%12,Submit,Start,End,NodeList%20
|
FIELDS_PRESET1=JobID,JobIDRaw,JobName%-20,User,Partition,Elapsed%12,NCPUS%5,CPUTime%12,TotalCPU%12,Submit,Start,End,State,NodeList%20
|
||||||
|
|
||||||
filter_sacct_only_main_jobs () {
|
filter_sacct_only_main_jobs () {
|
||||||
awk '($2 ~ /^[0-9]+$/) || (FNR <= 2) { print }'
|
awk '($2 ~ /^[0-9]+$/) || (FNR <= 2) { print }'
|
||||||
|
|||||||
Reference in New Issue
Block a user