[[ShowPath]] = TorqueUsage/Interactive = This is for very simple tasks, eg to list queue propertie or nodes properties. Here we go: {{{ #!python 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 [wiki:TorqueUsage/Functions Torque functions] are used: * [wiki:TorqueUsage/Functions/Pbs_default pbs_default] * [wiki:TorqueUsage/Functions/Pbs_connect pbs_connect] * [wiki:TorqueUsage/Functions/Pbs_statque pbs_statque]