wiki:TorqueUsage/Interactive

TorqueUsage/Interactive

This is for very simple tasks, eg to list queue propertie or nodes properties. Here we go:

ipython

import pbs
server = pbs.pbs_default()

c = pbs.pbs_connect(server)
queues = pbs.pbs_statque(c, "", "NULL", "NULL")

for q in queues:
  print q.name

In this short example the following Torque functions are used:

Last modified 13 years ago Last modified on 10/19/06 11:26:34