TOTPOOL
The totpool() function returns the total number of nodes know to the Torque server. This is the sum of the number of nodes available, allocated, reserved and down.
number = pbs.totpool(c, update)
In
c::
Connection id
update::
If update is non-zero causes totpool() to issue a pbs_rescquery() call to obtain fresh information. If zero, numbers from the prior pbs_rescquery() are used.
Out
number::
Total number of nodes
Example
#!/usr/bin/env python c = pbs.pbs_connect(pbs.pbs_default()) number = pbs.totpool(c, 1) print number
Last modified 17 years ago
Last modified on 09/13/06 15:22:52