Veritas-bu

Re: [Veritas-bu] bpdbjos and just parent

2009-02-12 14:22:41
Subject: Re: [Veritas-bu] bpdbjos and just parent
From: "Sweeney, Patrick" <Patrick.Sweeney AT axcelis DOT com>
To: "judy_hinchcliffe AT administaff DOT com" <judy_hinchcliffe AT administaff DOT com>, "VERITAS-BU AT mailman.eng.auburn DOT edu" <VERITAS-BU AT mailman.eng.auburn DOT edu>
Date: Thu, 12 Feb 2009 14:07:18 -0500
Download gawk and pipe the reulsts of bpdbjobs -mostcolumns to it.

I'llwrite the awk line for what you need when i get to work tonight, but 
basically gawk is going to do two things for you here - it will let you easily 
filter that output down to the jobs where the parent ID and the JobID match 
(just the parents)  and the systime() and strftime() functions will let you 
convert between the epoch style dating and something more human readable.

It's ultimately just a long one line command that way.
________________________________
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [veritas-bu-bounces AT 
mailman.eng.auburn DOT edu] On Behalf Of judy_hinchcliffe AT administaff DOT 
com [judy_hinchcliffe AT administaff DOT com]
Sent: Thursday, February 12, 2009 12:55 PM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] bpdbjos and just parent

NB 6.5.3

I am trying to use this command to get just the parent jobs
in mm/dd/yy date formant and not unix epoch format.

(I will settle for all jobs if need be)

So I want to supply a list of servers in a for loop
Get the parent job for that client
What I am looking for is the active start and end times

But I am having issues getting that in mm/dd/yy format.

Anybody got any ideas or other commands I could use?


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu