Veritas-bu

[Veritas-bu] Parsing the output of bpdbjobs

2001-06-29 16:11:47
Subject: [Veritas-bu] Parsing the output of bpdbjobs
From: Andrew Shinkarev <shinkara AT pprd.abbott DOT com> (Andrew Shinkarev)
Date: Fri, 29 Jun 2001 15:11:47 -0500
On Fri, Jun 29, 2001 at 01:25:30PM -0500, dayal singh wrote:


I eventually gave up on parsing output of bpdbjobs  
and start using script written by Fundacao CPqD <gustavo AT cpqd.com DOT br>
It reads directly /usr/openv/netbackup/db/jobs and works 
much much faster than bpdbjobs | perl/awk duet. 

It works fine for 3.2 and 3.4 and I love it.     

Thanks,
Andrew

> NBU GURU's,
>               I was trying to parse the output to get the "write time"  from 
> "bpdbjobs -report -all_columns "  using shell script(not perl). The output 
> from bpdbjobs gives me from 50 to 250 coulmns of output for each line. As 
> each line is not equal, I am having hard time in getting the correct output. 
> AWK won't work if the fields are more than 3000 bytes. I can't hard code the 
> script with "cut".  Is there any other way I can handle the problem without 
> using Perl ?
> 
> My idea of writing the script to get the class, sched, media_server, client 
> and write_time.
> 
> 
> I appreciate y'r response
> 
> TIA
> 
> Dayal
> 
> 
> Get 250 color business cards for FREE!
> http://businesscards.lycos.com/vp/fastpath/
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

-- 
----
Andrew Shinkarev
Network Systems Specialist
Abbott Laboratories
(847) 9387559
shinkara AT pprd.abbott DOT com

<Prev in Thread] Current Thread [Next in Thread>