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

Re: [Condor-users] question regarding job/app status



note that you could still query each job individually

the clusterid.processid syntax alows this.

that said, since you are changing the executable then I believe this
causes seperate clusters anyway.

if you place each processes logging information in the same file then
parse the files every so often this will tell you all the info you
need to know. there is a C++ and perl api for doing this.

this will only work if you force these jobs to be submitted from a
centrral point (I would suggest the same server).

if you want to let them submit from their own machines (far more
efficient) then just write a script/app which parses the files
locally. You can use

condor_q -format %s UserLog

to determine where the log file is programmatically, just ensure the
condor exe are on their path.

Matt

On Fri, 15 Oct 2004 17:08:01 -0700, John Wheez <john@xxxxxxxxxx> wrote:
> I'd suggest submitting 4 differrent condor jobs instead of running all
> your apps from within the same submit script. That way you can use
> condor_q on each individual job to get the status.
> 
> 
> 
> 
> bruce wrote:
> 
> >hi...
> >
> >i'm trying to determine the best/most efficient way to get
> >information/status from condor regarding the apps/jobs that would be run on
> >a condor network.
> >
> >if i have a test submit file like:
> >Executable = foo.pl
> >Universe = vanilla
> >Error = qq_1097864225.err
> >Log = qq_1097864225.log
> >should_transfer_files=yes
> >when_to_transfer_output = ON_EXIT
> >
> >Queue
> >
> >Executable = mouse.pl
> >Queue
> >
> >Executable = bird.pl
> >Queue
> >
> >Executable = dog.pl
> >Queue
> >
> >Executable = ant.pl
> >Queue
> >
> >
> >where i'm essentially running 5 different perl apps, how would i be able to
> >get the following information, in real time, given that the perl apps might
> >be running on different servers within the condor network.
> >
> >i'm trying to capture:
> > name of app
> > time app started to run
> > amount of time app is running/did run
> > time app stopped
> > status (ongoing/end)
> > the server the app is run/ran on
> >
> >
> >ultimately, i'm considering a kind of web interface, that allows users to be
> >able to 'see' where a given app is, and the status of the app. so i'm trying
> >to determine the best way to pull/get the information from condor...
> >
> >any suggestions/thoughts/etc as to how to implement this would be helpful...
> >
> >thanks...
> >
> >-bruce
> >
> >_______________________________________________
> >Condor-users mailing list
> >Condor-users@xxxxxxxxxxx
> >http://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >
> >
> 
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> http://lists.cs.wisc.edu/mailman/listinfo/condor-users
>