- Timestamp:
- 11/05/10 09:08:25 (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGES
r262 r264 1 =========== 4. X.X1 =========== 4.3.0 2 2 * new_rack_pbsmon.py: For backward compatibility added -a/--all option. 3 3 Has the same functionality as -s/--summary 4 4 Author: Bas van der Vlies 5 6 * Added some license info to debian package and include GPL and LGPL 3.0 7 files. 8 Suggested by: W. Trevor King <wking at drexel dot edu> 9 10 * PBSQuery.py: Added support for new feature in node status field: 11 * message=EVENT:<key=value:>+ 12 * message=ERROR <text> 13 14 Added the following syntax for node: 15 * node['error'] 16 * node['event'] 17 18 eg: node: n1 19 state = free 20 np = 8 21 properties = ib,switch1,highmem 22 ntype = cluster 23 jobs = 0/567403.sara.nl, 1/567403.sara.nl 24 status = ...,loadave=0.00,message=EVENT:sample.time=1288864220.003:cputotals.user=0:cputotals.nice=0:cputotals.sys=0:cputotals.wait=0:cputotals.irq=0:cputotals.soft=0:cputotals.steal=0:cputotals.idle=99:cputotals.systot=0:cputotals.usertot=0:nettotals.kbin=0:nettotals.pktin=1:nettotals.kbout=0:nettotals.pktout=0:lusclt.reads=0:lusclt.readkbs=0:lusclt.writes=0:lusclt.writekbs=0:lusclt.numfs=2:iconnect.kbin=0:iconnect.pktin=0:iconnect.kbout=0:iconnect.pktout=0,netload=3487600394,state=free,... 25 26 example code: 27 p = PBSQuery() 28 node = p.getnode(n1) 29 print node.event['sample.time'] 30 print node['event']['sample.time'] 31 32 Requested by: Roy Dragseth <roy dot dragseth add uit dotno> 33 Author: Bas van der Vlies 34 5 35 6 36 =========== 4.2.0 -
trunk/debian/changelog
r259 r264 1 pbs-python (4.3.0-1) lenny; urgency=low 2 3 * See CHANGES 4 5 -- Bas van der Vlies <bas@sara.nl> Fri, 05 Nov 2010 09:04:29 +0100 6 1 7 pbs-python (4.2.0-2) lenny; urgency=low 2 8 -
trunk/debian/copyright
r64 r264 1 This package was debianized by 2 Yaroslav Halchenko <yoh@psychology.rutgers.edu> 3 on Sat, 10 May 2003 20:34:31 -0400. 1 Format-Specification: 2 http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 3 Upstream-Maintainer: Bas van der Vlies <basv@sara.nl> 4 Upstream-Source: https://subtrac.sara.nl/oss/pbs_python 5 Upstream-Name: pbs_python 4 6 5 It was built based on CVS snapshot of 'rumba-manifold' 6 from :pserver:anonymous@cnrg2.rutgers.edu:/home/cvs7 on Sat, 10 May 2003 20:34:31 -0400. 7 Files: * 8 Copyright: SARA: Bas van der Vlies 9 License: LGPL-3+ 8 10 9 Upstream Author: 10 Donovan Rebbechi <elflord@psychology.rutgers.edu> 11 Benjamin Martin Bly <ben@psychology.rutgers.edu> 11 Files: src/rm.h src/pbs_ifl.h src/log.h src/pbs_error.h 12 Copyright: Copyright (c) 1999-2000 Veridian Information Solutions, Inc. 13 License: OpenPBS (Portable Batch System) v2.3 Software License 12 14 13 Copyright:14 15 16 Files: debian/* 17 Copyytight: Yaroslav Halchenko <yoh@psychology.rutgers.edu> 18 Bas van der Vlies <basv@sara.nl> 19 Donovan Rebbechi <elflord@psychology.rutgers.edu> 20 Benjamin Martin Bly <ben@psychology.rutgers.edu> 21 License: Artistic License 22 23 License: Artistic License 15 24 This program is free software; you can redistribute it and/or 16 25 modify it under the terms of the "Artistic License" which comes 17 26 with Perl. 18 27 19 On Debian GNU/Linux systems, the complete text of the Artistic Licence 20 in `/usr/share/common-licenses/Artistic'. 28 On Debian GNU/Linux systems, the complete text of the Artistic Licence 29 in `/usr/share/common-licenses/Artistic'. 30 31 License: OpenPBS (Portable Batch System) v2.3 Software License 32 Is include this package as LICENSE.openpbs in /usr/shar/doc/pbs-python -
trunk/pbs_python.spec
r253 r264 4 4 5 5 Name: pbs_python 6 Version: 4. 2.06 Version: 4.3.0 7 7 Release: 1%{?dist} 8 8 License: See LICENSE -
trunk/src/PBSQuery.py
r263 r264 171 171 tmp_l = v.split('=') 172 172 173 ## Support for multiple EVENT mesages in format [ :key=value]+173 ## Support for multiple EVENT mesages in format [key=value:]+ 174 174 # format eg: message=EVENT:sample.time=1288864220.003:cputotals.user=0 175 # message=ERROR <text> 175 176 # 176 177 if tmp_l[0] in ['message']: 177 178 178 tmp_d = dict() 179 new['event'] = class_func(tmp_d) 180 181 message_list = v.split(':') 182 for event_type in message_list[1:]: 183 tmp_l = event_type.split('=') 184 new['event'][ tmp_l[0] ] = tmp_l[1:] 179 if tmp_l[1].startswith('EVENT:'): 180 181 tmp_d = dict() 182 new['event'] = class_func(tmp_d) 183 184 message_list = v.split(':') 185 for event_type in message_list[1:]: 186 tmp_l = event_type.split('=') 187 new['event'][ tmp_l[0] ] = tmp_l[1:] 188 189 else: 190 ## ERROR message 191 # 192 new['error'] = tmp_l [1:] 185 193 186 194 ## continue with next status value
Note: See TracChangeset
for help on using the changeset viewer.