+ perdone = 0
+ perwl = 0
+ if nototal > 0:
+ perdone = 100.0*float(nodone)/float(nototal)
+ if wltotal > 0:
+ perwl = 100.0*float(wldone)/float(wltotal)
+
+ print("%d (%.1f%%) of %d jobs and %.1f%% of the workload done. %d jobs are running." % \
+ (nodone, perdone, nototal, perwl, nostarted-nodone))