Ignore:
Timestamp:
12/20/12 12:01:00 (11 years ago)
Author:
bas
Message:

PBSacct framework for accounting records, beta
list some changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/new_interface.py

    r204 r286  
    1111#
    1212
     13import pbs
    1314from PBSQuery import PBSQuery
    1415from PBSQuery import PBSError
     
    3031  #print job.Variable_List.PBS_O_HOME
    3132
    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)
    3440  for id in nodes:
    3541        print id
Note: See TracChangeset for help on using the changeset viewer.