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

Re: [HTCondor-users] dagman: condor_q -dag cluster ?



Rob:

I don't believe there is any way to do what you want.

condor_q -const 'DAGManJobId =?= 307' is the closest (gives you all the
jobs submitted by the dagman instance, but not jobs submitted by any
nested dags).

Nathan Panike

On Fri, May 31, 2013 at 11:43:26PM -0700, Rob wrote:
> Hi,
> 
> I'm experimenting with condor_submit_dag instances.
> I want condor_q to tell me the dagman tree of only one dagman instance. Is that possible?
> 
> 
> While running the dag, condor_q tells me this:
> 
> $ condor_q -dag
> 
> -- Submitter: xxxxxxxx.xxxx.xxx : <xxx.xxx.xxx.xxx:57654> : condor.skku.edu
>  ID      OWNER/NODENAME   SUBMITTED     RUN_TIME ST PRI SIZE CMD               
>  307.0   myname    6/1  15:30   0+00:00:56 R  0   0.2  condor_dagman -f -
>  308.0    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
>  308.1    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
>  308.2    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
>  308.3    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
>  308.4    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
>  308.5    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
>  308.6    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
>  308.7    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
>  308.8    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
>  308.9    |-A            6/1  15:30   0+00:00:00 I  0   0.1  pi.exe 5000 5000  
> 
> At this moment nothing else is running on this Condor network.
> If other stuff is running on the same Condor network, I'd like to get only my dagman tree.
> So I tried this:
> 
> $ condor_q -dag 307
> 
> -- Submitter: xxxxxxxx.xxxx.xxx : <xxx.xxx.xxx.xxx:57654> : condor.skku.edu
>  ID      OWNER/NODENAME   SUBMITTED     RUN_TIME ST PRI SIZE CMD               
>  307.0   myname    6/1  15:30   0+00:00:56 R  0   0.2  condor_dagman -f -
> 
> 
> Unfortunately this gives me only the dagman entry itself.
> Is there an option to get the complete dagman tree of only one dagman instance?
> 
> Thank you.
> 
> Rob.