Veritas-bu

[Veritas-bu] Command for backup size

2005-04-26 11:52:57
Subject: [Veritas-bu] Command for backup size
From: SKampen AT verisign DOT com (Kampen, Scott)
Date: Tue, 26 Apr 2005 08:52:57 -0700
Hello,

What command could I use to "reliably" get the size (whether in kbytes,
megs, gigs, etc.) for each data stream (jobid).  Here's what I'm
currently using in a script, but the results vary.

bpdbjobs -all_columns -jobid $i | cut -d "," -f53

Jobid   Size            
71021 26551571 
71022   10013894 
71023   26390135 
71030   04/26/05 04:14:44 - positioning P01099 to file 1 

Notice that everything is fine until jobid 71030 and then instead of
putting in the size is grabs a different field result.

The output from bpdbjobs is comma "," separated, so that is what I'm
using to grab the results of field 53.

I see the size of each jobid when I look in the gui, so I know there
must be a command to produce the same results on the command line
without worrying whether the field from the bpdbjobs output are going to
shift.

Thanks in advance for any feedback.
Scott




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