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

Re: [Condor-users] Logging what compute node a job executed/failed on



On Thu, Oct 26, 2006 at 10:07:47AM -0500, Dan Bradley wrote:
> 
> The schedd history file (in your SPOOL directory) contains a record of 
> completed jobs, including LastRemoteHost. You can either scan through 
> this file with your own script, or you can run queries with 
> condor_history. Example:
> 
> condor_history -format "%s" ClusterId -format ".%s" ProcId -format " 
> %s\n" LastRemoteHost
> 
> If you do use condor_history, be aware that it is much more efficient to 
> run one big bulk query than to run condor_history individually for a 
> long list of jobs. Also be aware that the history file may be 
> periodically rotated, depending on your configuration.
> 

Also, note in 6.9.0 per-job history files, so you can get the classad 
for a job directly from the filesystem without having to query condor_history.

-Erik