Difference: JobsSelectOutputSearch ( vs. 1)

Revision 12008-09-21 - VladimirRomanovskiy

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ProductionProcedures"
To search string in output (std.out) for selected jobs to investigate possible problem:

dirac-wms-jobs-select-output-search --options stringtosearch

The options are the same as for dirac-wms-select-jobs script.

The output is dictionary with jobID of selected jobs as key and last string from the output which contains substring stringtosearch from this job.

For example, You want to investigate on which nodes jobs failed at LCG.Dortmund.de:

dirac-wms-jobs-select-output-search --Site=LCG.Dortmund.de --Status='Failed' --Date=2008-09-19 'running on '

The result must be something like:

('40357', '              running on udo-wn040.grid.uni-dortmund.de on Sat Sep 20 22:23:01 2008\n')
('40279', '              running on udo-wn042.grid.uni-dortmund.de on Sat Sep 20 21:48:05 2008\n')
('40233', '              running on udo-wn042.grid.uni-dortmund.de on Sat Sep 20 22:01:28 2008\n')
('40313', '              running on udo-wn041.grid.uni-dortmund.de on Sat Sep 20 22:41:53 2008\n')
('40349', '              running on udo-wn041.grid.uni-dortmund.de on Sat Sep 20 22:45:25 2008\n')
('40405', '              running on udo-wn040.grid.uni-dortmund.de on Sat Sep 20 22:39:49 2008\n')
('40422', '              running on udo-wn039.grid.uni-dortmund.de on Sat Sep 20 21:57:27 2008\n')
('40288', '              running on udo-wn041.grid.uni-dortmund.de on Sat Sep 20 22:27:10 2008\n')
('40127', '              running on udo-wn043.grid.uni-dortmund.de on Sat Sep 20 21:49:58 2008\n')
('40241', '              running on udo-wn042.grid.uni-dortmund.de on Sat Sep 20 22:04:25 2008\n')
('40402', '              running on udo-wn040.grid.uni-dortmund.de on Sat Sep 20 22:14:38 2008\n')
('39936', '              running on udo-wn046.grid.uni-dortmund.de on Sat Sep 20 21:45:54 2008\n')

-- VladimirRomanovskiy - 21 Sep 2008

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback