Veritas-bu

[Veritas-bu] Size backed up in a class !

2002-06-14 14:18:19
Subject: [Veritas-bu] Size backed up in a class !
From: ddunham AT taos DOT com (Darren Dunham)
Date: Fri, 14 Jun 2002 11:18:19 -0700 (PDT)
> 
> Hi Folks !
> How can I calculate the size of the data backedup for a given date range for 
> a particular class ?

The bpimagelist command will give you the info for images based on a
date range and clase, then you just have to massage the data.

Here's a start.

bpimagelist -d <start> -e <end> -class <class> -l |
  perl -ane 'next unless /^IMAGE/; $sum += $F[18]; END {print "$sum KB\n";}'

-- 
Darren Dunham                                           ddunham AT taos DOT com
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

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