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

Re: [HTCondor-users] accurate way to query the number of jobs globally



Hi Daniel,

Try:
    condor_status -schedd

It will give you the number of running jobs as well as a few other bits of information.

...Tim

On 02/28/2014 08:03 AM, Pek Daniel wrote:
Thanks for your answer!

This command gives me back the complete list of jobs in the cluster,
which is undesirable in case of tens of millions of queued jobs - also
the list includes the non-running jobs, although I can help on it by
constraining the results.

But what I need is only the _number_ of the _running_ jobs.

Daniel

2014-02-28 14:51 GMT+01:00 Renaud Guezennec <renaud@xxxxxxx>:
Hi,

Try this :
condor_q -global

It may be useful.


On 02/28/2014 02:45 PM, Pek Daniel wrote:
Hi,

I'd like to know what's the most efficient, but at the same time most
accurate way (stale data isn't acceptable, although strict consistency
isn't necessary either) to get _only the number_ of currently running
jobs in the cluster globally? I could write a python script for it,
but there might be a more efficient way which I don't know about...

Thanks,
Daniel
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with
a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/

--
Tim Theisen
Release Manager
HTCondor & Open Science Grid
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin - Madison
4261 Computer Sciences and Statistics
1210 W Dayton St
Madison, WI 53706-1685
+1 608 265 5736