[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] C of C++ API for Condor



Depending on what version you are running (namely 7.6) you can enable
qmf plugins under the contrib area, which are a exposed API. 

The plugins require qpid->qmf but are accessible via several languages,
including C++ & Python.  

https://condor-wiki.cs.wisc.edu/index.cgi/wiki?p=QmfSuite

Cheers,
Tim

On Fri, 2011-04-15 at 14:09 +0530, Raman Sehgal wrote:
> Hello ,
> 
> I want some programmatic interface to condor,
> So is there any API's of Condor available for C , C++ or Python.
> 
> Right now what i want to do is to get the number of idle jobs
> , number of held jobs, number of running jobs etc, etc... in job
> queue.
> So that these can be used somewhere else.
> 
> Using condor commands like "condor_q", I am able to get this
> information
> but i want to access these programmatically, may be using some shell
> command
> I dont know how to use the condor_q in shell script so that it will
> just give me number
>  of idle jobs.
> 
> Thats why i want to know if there is some API's of condor through
> which using some
> development language i can query my Condor Pool.
> 
> Thanks in advance
> 
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/