source: trunk/examples/node_event_parse.py @ 329

Last change on this file since 329 was 287, checked in by bas, 11 years ago

added a new code example for EVENT node parsing

  • Property svn:executable set to *
  • Property svn:keywords set to Id URL
File size: 277 bytes
Line 
1#!/usr/bin/env python
2#
3# Author: Bas van der Vlies <basv@sara.nl>
4# Date  : 17 Aug 2001
5# Desc. : Simple pbsnodes -a
6#
7# SVN info:
8#   $Id: node_event_parse.py 287 2012-12-20 11:03:07Z bas $
9#   $URL: trunk/examples/node_event_parse.py $
10#
11#
12#
13
14
15import pbs
16import sys
17from PBSQuery import PBSQuery
18
19p = PBSQuery()
20node = p.getnode('gb-r7n3')
21print node['event']
Note: See TracBrowser for help on using the repository browser.