[Moabusers] Query resources programmatically

Feiyi Wang fwang2 at gmail.com
Wed Apr 25 17:03:39 MDT 2007


Hi, folks -

Are there Moab API's that allow me to query resources such how many total
nodes available and the attributes associated with each node? Information
that is similar to the output of "mdiag -n".

I have browsed Moab workload manager's C API, the documented API there are
mostly job oriented, not really any global resource view that I am looking
for. The source code from Moab src/server/sample.c seem provided a way of
doing that by calling MCDoCommand(), but I could not get it compiled right,
nor can I find any documents about this API.

Any information is much appreciated.

Feiyi

---
Oak Ridge National Lab.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/moabusers/attachments/20070425/4aee1f10/attachment.html


More information about the moabusers mailing list