Thanks Ian! I think I see things a bit different here. First of all,
jobs never get preempted here, so always run on a single machine. (EnteredCurrentStatus - JobCurrentStartDate) is always higher than 'RemoteWallClockTime' here. Say for this month, this is what I see: According to your exploitation, I assumed that RemoteWallClockTime would be either higher or equal to (EnteredCurrentStatus - JobCurrentStartDate) but that's not the case here. Am I seeing the correct thing?[root@serv07 ~]# condor_history -c 'formatTime(EnteredCurrentStatus, "%m") == "04" && \ AccountingGroup =!= UNDEFINED' -format "%s " AccountingGroup -format "%d\n" \ 'EnteredCurrentStatus - JobCurrentStartDate' | sed 's/\(.*\)\..* \(.*\)/\1 \2/' | \ awk '{sums[$1] = $2 + ($1 in sums ? sums[$1] : 0)} END {for (x in sums) print x,sums[x]}' group_alice 608721 group_euindia 2092416 group_calice 150833 group_monitor 452541 group_atlas 278858255 group_lhcb 85749166 group_cms 2825308 [root@serv07 ~]# condor_history -c 'formatTime(EnteredCurrentStatus, "%m") == "04" && AccountingGroup =!= UNDEFINED' \ -format "%s " AccountingGroup -format "%d\n" 'RemoteWallClockTime' | sed 's/\(.*\)\..* \(.*\)/\1 \2/' | \ awk '{sums[$1] = $2 + ($1 in sums ? sums[$1] : 0)} END {for (x in sums) print x,sums[x]}' group_alice 49846 group_euindia 2111122 group_calice 150833 group_monitor 104893 group_atlas 125423594 group_lhcb 81987039 group_cms 2599357 Cheers, Santanu
|