[torqueusers] ANNOUNCE: New version of pxeconfig/pxemenu utilities (4.3.0)
Bas van der Vlies
basv at sara.nl
Mon Nov 8 08:49:50 MST 2010
=========== 4.3.0
* new_rack_pbsmon.py: For backward compatibility added -a/--all option.
Has the same functionality as -s/--summary
Author: Bas van der Vlies
* Added some license info to debian package and include GPL and LGPL 3.0
files.
Suggested by: W. Trevor King <wking at drexel dot edu>
* PBSQuery.py: Added support for new feature in node status field:
* message=EVENT:<key=value:>+
* message=ERROR <text>
Added the following syntax for node:
* node['error']
* node['event']
eg: node: n1
state = free
np = 8
properties = ib,switch1,highmem
ntype = cluster
jobs = 0/567403.sara.nl, 1/567403.sara.nl
status =
..,loadave=0.00,message=EVENT:sample.time=1288864220.003:cputotals.user=0:iconnect.pktout=0,netload=3487600394,state=free,...
example code:
p = PBSQuery()
node = p.getnode(n1)
print node.event['sample.time']
print node['event']['sample.time']
Requested by: Roy Dragseth <roy dot dragseth add uit dotno>
Author: Bas van der Vlies
==============================================================
the latest stable pbs_python interface is available from:
ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz
Information, documentation and reporting bugs for the package:
https://subtrac.sara.nl/oss/pbs_python
===== Brief description =========================================
Pbs_python interface is a wrapper class for the TORQUE C LIB
API. Now you can write utilities/extensions in Python instead of C.
--- Testing the package:
The test programs are include as a reference how to use the pbs
python module. You have to edit some test programs to reflect
your Torque installation.
pbsmon.py - ascii xpbsmon
rack_pbsmon.py - ascii xpbsmon by rack layout
pbsnodes-a.py - pbsnodes -a
pbs_version.py - print server version
set_property.py - set some node properties
resmom_info.py - queries the pbs_mom daemon on the nodes
logpbs.py - Shows the usage of the PBS logging routines
new_interface.py - Example how to use PBSQuery module
PBSQuery.py - python <install_path>/PBSQuery.py (has builtin demo)
sara_nodes.py - We use this program to set the nodes offline/online.
when there are no command line arguments. It will list
the nodes that are down/oflline. For more info see:
https://subtrac.sara.nl/oss/pbs_python/wiki/TorqueExamples
For more info about SARA see:
http://www.sara.nl/index_eng.html
--
********************************************************************
* Bas van der Vlies e-mail: basv at sara.nl *
* SARA - Academic Computing Services Amsterdam, The Netherlands *
********************************************************************
More information about the torqueusers
mailing list