Changeset 134
- Timestamp:
- 10/10/06 11:29:08 (18 years ago)
- Location:
- trunk/examples
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/pbsmon.py
r67 r134 104 104 con = pbs.pbs_connect(pbs_server) 105 105 if con < 0: 106 print pbs.pbs_geterrmsg(con) 107 sys.exit(1) 106 errno, text = pbs.error() 107 print errno, text 108 sys.exit(1) 108 109 109 110 # We are only interested in the state and jobs of a node -
trunk/examples/rack_pbsmon.py
r67 r134 49 49 con = pbs.pbs_connect(pbs_server) 50 50 if con < 0: 51 print pbs.pbs_geterrmsg(con) 51 errno, text = pbs.error() 52 print errno, text 52 53 sys.exit(1) 53 54 -
trunk/examples/set_property.py
r37 r134 6 6 # 7 7 # CVS info: 8 # $Id : set_property.py,v 1.1 2002/02/27 14:35:51 sscpbas Exp$8 # $Id$ 9 9 # 10 10 # … … 30 30 31 31 if r > 0: 32 print r, ";", pbs.pbs_geterrmsg(con) 32 print r, ";" 33 errno, text = pbs.error() 34 print errno, text 33 35 34 36 main()
Note: See TracChangeset
for help on using the changeset viewer.