- Timestamp:
- 12/20/12 12:01:00 (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGES
r282 r286 1 =========== 4.X.X 2 * PBSQuery bugfix, parsing of node status line with multiple EVENT: settings 3 was wrong 4 Author: Bas van der Vlies 5 1 6 =========== 4.3.4 2 7 * PBSQuery bugfix. getjob() can now handle short jobname, eg: -
trunk/examples/new_interface.py
r204 r286 11 11 # 12 12 13 import pbs 13 14 from PBSQuery import PBSQuery 14 15 from PBSQuery import PBSError … … 30 31 #print job.Variable_List.PBS_O_HOME 31 32 32 l = ['np', 'status', 'state' ] 33 nodes = p.getnodes(l) 33 l = ['np', 'state' ] 34 node = p.getnode("gb-r5n1", l) 35 print node.name, node['np'] 36 37 sys.exit(0) 38 39 #nodes = p.getnodes(l) 34 40 for id in nodes: 35 41 print id -
trunk/examples/pbs_version.py
r37 r286 5 5 # 6 6 # CVS info: 7 # $Id : pbs_version.py,v 1.1 2002/02/27 14:35:51 sscpbas Exp$7 # $Id$ 8 8 # 9 9 # -
trunk/src/PBSacct.py
r284 r286 166 166 167 167 168 for j in jobs.keys(): 169 170 if jobs[j].has_key('restart'): 171 print j, jobs[j]['restart'] 172 173 sys.exit(0) 168 #for j in jobs.keys(): 169 # 170 # if jobs[j].has_key('restart'): 171 # print j, jobs[j]['restart'] 172 174 173 for j in jobs.keys(): 175 174
Note: See TracChangeset
for help on using the changeset viewer.