Retrieving log sum/dtl of a single invocation
Posted: Fri Oct 01, 2004 3:50 pm
I am running up to 12 concurrent instances of a parallel job. These are kicked off from CA Autosys (scheduler) and all logs need to be written out to files. How do I get the log summary and details of 1 specific instance/invocation? When I use dsjob -logsum to get the log summary, it returns the logs for all invocations that were running at that time. It doesn't matter what I specify - job or jobInvocationId.
Running:
dsjob -run -mode NORMAL -jobstatus myproject myjob.site1
dsjob -run -mode NORMAL -jobstatus myproject myjob.site2
... etc.
Log Summary - all retrieve exact same results:
1) dsjob -logsum myproject myjob
2) dsjob -logsum myproject myjob.site1
3) dsjob -logsum myproject myjob.site2
So... how do I get the log info for just site1? If I look in Director, it shows all logs for the job, grouped by invocation and even color coded to a certain extent. Obviously, DS know how to link an event not just to a job, but to a specific invocation because that's what it's doing in Director. Now, how do I do this from the command line?
Running:
dsjob -run -mode NORMAL -jobstatus myproject myjob.site1
dsjob -run -mode NORMAL -jobstatus myproject myjob.site2
... etc.
Log Summary - all retrieve exact same results:
1) dsjob -logsum myproject myjob
2) dsjob -logsum myproject myjob.site1
3) dsjob -logsum myproject myjob.site2
So... how do I get the log info for just site1? If I look in Director, it shows all logs for the job, grouped by invocation and even color coded to a certain extent. Obviously, DS know how to link an event not just to a job, but to a specific invocation because that's what it's doing in Director. Now, how do I do this from the command line?