Get time for job completion

From Rizzo_Lab
Jump to: navigation, search
grep "WallClock:" *.out | awk '{sum+=$2/3600} END {print "Hours="sum}'
grep "WallClock:" *.out | awk -F, '{mean+=$94/5000; n+=1; meansq+=(($94^2)/5000)} END {print "SD="sqrt(meansq - mean^2),"Mean="mean}'