Changeset 169
- Timestamp:
- 10/09/08 09:21:34 (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGES
r168 r169 24 24 * Added getnodes_with_property() function. This will get all nodes with 25 25 a certain property, eg: 26 27 28 29 30 26 - get all nodes with property 'cores8' and return all attributes: 27 getnodes_with_property('cores8') 28 29 - get all nodes with property 'cores2' and only return the 30 attributes 'state' and 'properties': 31 31 attrl = [ 'state', 'properties' ] 32 32 getnodes_with_property('cores2', attrl) 33 34 33 34 Only for torque version > 2.1.0 35 35 36 36 Added by: Bas van der Vlies 37 37 38 38 * Added to class node the function 39 - get_jobs(self, unique=None) 40 Returns a list of the currently running job-id('s) on the nodea, 41 42 Added by: Sil Westerveld <Sil.Westerveld@sara.nl> 39 - get_jobs(self, unique=None) 40 Returns a list of the currently running job-id('s) on the node. 41 42 Added by: Sil Westerveld <Sil.Westerveld@sara.nl> 43 44 * Added get_server_name() function. 45 This will return the PBS-server's name. 46 47 Added by: Sil Westerveld <Sil.Westerveld@sara.nl> 43 48 44 49 =========== Version 2.9.4 -
trunk/src/PBSQuery.py
r167 r169 220 220 self._statjob('', attrib_list) 221 221 return self.d 222 223 def get_server_name(self): 224 return self.server 222 225 223 226 class _PBSobject(UserDict.UserDict):
Note: See TracChangeset
for help on using the changeset viewer.