[Moabusers] Fwd: Query resources programmatically
Feiyi Wang
fwang2 at gmail.com
Fri Apr 27 11:12:45 MDT 2007
I am not sure if the following message was sent ... I apologize if you
receive it twice.
Feiyi
---------- Forwarded message ----------
From: Feiyi Wang <fwang2 at gmail.com>
Date: Apr 25, 2007 7:03 PM
Subject: Query resources programmatically
To: moabusers at supercluster.org
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/20070427/c9b07c20/attachment.html
More information about the moabusers
mailing list