Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] determining the Dag controler of a job?
- Date: Sun, 19 Sep 2004 10:23:48 -0500
- From: "Peter F. Couvares" <pfc@xxxxxxxxxxx>
- Subject: Re: [Condor-users] determining the Dag controler of a job?
John Wheez wrote:
I'm using dagman more often now and I'd like to know if there is a
method to determine the subproccesses that the dagman is monitoring?
For example I know procces 134.0 is being monitored by dagman how can
i find out which dagman process is controlling process 134.0?
John,
One simple way is just to run condor_q -dag, which displays DAG jobs
indented under their DAGMan controller.
Or, you can look directly in any DAG node's job classad, using condor_q
-long, for its DAGManJobId attribute, which is set to the job id of the
DAGMan which submitted it. So, to see all the jobs submitted by a
specific DAGMan, you can do something like:
condor_q -const 'DAGManJobId == "102.0"'
(...where "102.0" is the job id of DAGMan.)
Or to see the DAGMan controller of a specific condor job (say "104.0"),
you could do:
condor_q -format '%s\n' DAGManJobId 104.0
I hope this helps!
-Peter
--
Peter Couvares University of Wisconsin-Madison
Condor Project Research Department of Computer Sciences
pfc@xxxxxxxxxxx 1210 W. Dayton St. Rm #4241
(608) 265-8936 Madison, WI 53706-1685