/[pdpsoft]/trunk/nl.nikhef.ndpf.tools/jplist/jplist
ViewVC logotype

Diff of /trunk/nl.nikhef.ndpf.tools/jplist/jplist

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2546 by templon, Sat Apr 28 11:35:26 2012 UTC revision 2547 by templon, Sat Apr 28 11:37:04 2012 UTC
# Line 67  for k in plist: Line 67  for k in plist:
67      plistnumeric.append(int(k))      plistnumeric.append(int(k))
68  plistnumeric.sort(reverse=True)  plistnumeric.sort(reverse=True)
69    
70  print "Sched.rank    User    Jobs: Waiting / Running "  print "Sched.rank    User    Waiting / Running Jobs"
71  for p in plistnumeric:  for p in plistnumeric:
72      users = jpd[repr(p)].keys()      users = jpd[repr(p)].keys()
73      for u in users:      for u in users:
74          njobs = len(jpd[repr(p)][u])          njobs = len(jpd[repr(p)][u])
75          print "%7d    %8s         %5d     %5d" % (p, u, njobs, sd[u]['R'])          print "%7d    %8s   %5d     %5d" % (p, u, njobs, sd[u]['R'])
76                    

Legend:
Removed from v.2546  
changed lines
  Added in v.2547

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28