/[pdpsoft]/nl.nikhef.ndpf.groupviews/trunk/ndpf-gv-dbupdate
ViewVC logotype

Diff of /nl.nikhef.ndpf.groupviews/trunk/ndpf-gv-dbupdate

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

revision 3130 by templon, Wed Jul 20 10:28:33 2016 UTC revision 3131 by templon, Tue Oct 25 10:18:12 2016 UTC
# Line 20  RUNDB  = DATADIR + 'ndpfrunning.rrd' Line 20  RUNDB  = DATADIR + 'ndpfrunning.rrd'
20  import time  import time
21  # old line for stro os.system('/usr/bin/qstat -f @' + TORQUE + ' > ' + qsfname)  # old line for stro os.system('/usr/bin/qstat -f @' + TORQUE + ' > ' + qsfname)
22    
 os.system('/opt/torque4/bin/qstat-torque -f @' + TORQUE + ' > ' + qsfname)  
23  now = time.mktime(time.localtime())  now = time.mktime(time.localtime())
24    os.system('/opt/torque4/bin/qstat-torque -f @' + TORQUE + ' > ' + qsfname)
25    
26  import torqueJobs  import torqueJobs
27  jlist = torqueJobs.qs_parsefile(qsfname)  jlist = torqueJobs.qs_parsefile(qsfname)

Legend:
Removed from v.3130  
changed lines
  Added in v.3131

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