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

Re: [HTCondor-users] condor_q -idle ?



I considered it a "missing flag", because I need the number of idle jobs in the queue.......thanks, your solution works for now.

As for a different output format with the -idle flag:
show "how often the job has been evicted so far", comes to mind.

Rob.


On Friday, October 18, 2013 5:00 AM, John (TJ) Knoeller <johnkn@xxxxxxxxxxx> wrote:

condor_q -constraint "JobStatus==1"

will show only idle jobs.

condor_q -hold and condor_q -run  do more than just count jobs in a 
particular state,
they also show different information about the job than the default 
condor_q output does.

What different headings would you want for idle jobs?
-tj



On 10/15/2013 12:32 AM, Stub wrote:
> Hi,
>
> I was just wondering why this option is missing.
>
> We do have
> condor_q -hold
> condor_q -run
>
> In fact, I need to check how many jobs in my cluster number 503 are idle, and I hoped to do this:
>
> condor_q -idle 503
>
> But alas. Of course I can achieve this with shell scripting and pipe the output, but I wondered why "-idle" is not there....
>
> Regards,
> Rob.
>
> _______________________________________________
> 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/