Veritas-bu

[Veritas-bu] Apples & Pears when trying to write some reporting scripts

2003-09-30 09:17:24
Subject: [Veritas-bu] Apples & Pears when trying to write some reporting scripts
From: rlh AT lsil DOT com (Richard Hellier)
Date: Tue, 30 Sep 2003 14:17:24 +0100 (BST)
Folks,
        I hope you can help me out here -- I'm trying to write
some scripts that give a crude view of overall througput just
of the weekend (full) backups.

        The problem I'm having is deciding which source is
authoritative for the amount of data backed up.   I've tried
"bperror" and "bpimagelist" and cannot get the output of these
to agree. Nor do either of them agree with a "df -k" listing!

        At the end of the message is an excerpt from the
output of the above commands showing that there is "disagreement"
(apparently!) on how much data was written.

        Have any of you been down this road and figured out
what's what, please?

Thanks!

Richard.

--------------------------- cut here -------------------

bpimagelist results
===================

IMAGE XXX 0 0 3 XXX_1064604931 backup 0 *NULL* root weekly 0 3 1064604931 108 
1067283331 0 0 95079 2369 1 2 0 backup_1064604931_FULL.f *NULL* *NULL* 0 1 0 0 
0 *NULL* 1 0 0 0 0 0 0 *NULL* 0 0
HISTO -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
FRAG 1 1 3136 0 2 13 61 CWY315 master 65536 65267 1064603381 3 0 *NULL* 
1067283331 1 0 0 0
FRAG 1 2 91943 0 2 13 62 CWY315 master 65536 65613 1064603381 3 0 *NULL* 0 0 0 
0 0
IMAGE XXX 0 0 3 XXX_1064604930 backup 0 *NULL* root weekly 0 3 1064604930 528 
1067283330 0 0 1264664 4728 1 3 0 backup_1064604930_FULL.f *NULL* *NULL* 0 1 0 
0 0 *NULL* 1 0 0 0 0 0 0 *NULL* 0 0
HISTO -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
FRAG 1 1 60224 0 2 13 20 CWY324 master 65536 77869 1064603366 4 0 *NULL* 
1067283330 1 0 0 0
FRAG 1 2 263872 0 2 13 21 CWY324 master 65536 80303 1064603366 4 0 *NULL* 0 0 0 
0 0
FRAG 1 3 940568 512 2 13 22 CWY324 master 65536 85860 1064603366 4 0 *NULL* 0 0 
0 0 0
IMAGE XXX 0 0 3 XXX_1064604483 backup 0 *NULL* root weekly 0 3 1064604483 465 
1067282883 0 0 607530 18298 1 3 0 backup_1064604483_FULL.f *NULL* *NULL* 0 1 0 
0 0 *NULL* 1 0 0 0 0 0 0 *NULL* 0 0
HISTO -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
FRAG 1 1 21120 0 2 13 59 CWY315 master 65536 43899 1064603381 3 0 *NULL* 
1067282883 1 0 0 0
FRAG 1 2 578496 0 2 13 60 CWY315 master 65536 46194 1064603381 3 0 *NULL* 0 0 0 
0 0
FRAG 1 3 7914 512 2 13 61 CWY315 master 65536 65267 1064603381 3 0 *NULL* 0 0 0 
0 0

bperror results
===============

1064866603 1 4 4 master 249270 249269 0 XXX bptm successfully wrote backup id 
XXX_1064866538, copy 1, 28446 Kbytes
1064866720 1 4 4 master 249265 249265 0 XXX bptm successfully wrote backup id 
XXX_1064866424, copy 1, 311490 Kbytes
1064866781 1 4 4 master 249269 249269 0 XXX bptm successfully wrote backup id 
XXX_1064866537, copy 1, 493971 Kbytes

df -k results
=============

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0     962983  685773  219432    76%    /
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
swap                 3785696   10424 3775272     1%    /tmp
/dev/dsk/c0t1d0s0    2012390 1185881  766138    61%    /disks/home1
/dev/dsk/c0t2d0s0    2012390 1369860  582159    71%    /disks/home2

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