Veritas-bu

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

2002-06-14 14:31:23
Subject: [Veritas-bu] Size backed up in a class !
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Fri, 14 Jun 2002 12:31:23 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C213D1.AFA34280
Content-Type: text/plain

bpimagelist -class <classname> -d <startdate> -e <enddate> -U

Looks like this:
Backed Up         Expires       Files       KB  C  Sched Type   Class
----------------  ---------- -------- --------  -  ------------ ------------
06/13/2002 00:07  06/27/2002      100 66076512  N  Full Backup  Oracle_bk1
06/13/2002 00:07  06/27/2002      117 77939201  N  Full Backup  Oracle_bk1
06/13/2002 00:07  06/27/2002      119 79771644  N  Full Backup  Oracle_bk1
06/13/2002 00:07  06/27/2002      227 75616296  N  Full Backup  Oracle_bk1

Add up the fifth column - or if you just want a total:
bpimagelist -class <classname> -d <startdate> -e <enddate> -U | awk 'NR>2
{sum=sum+$5} END {print sum}'

-Mark

-----Original Message-----
From: Karunanidhi Subramanian [mailto:karunanidhis AT hotmail DOT com]
Sent: Friday, June 14, 2002 11:35 AM
To: Veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Size backed up in a class !


Hi Folks !
How can I calculate the size of the data backedup for a given date range for

a particular class ?
Thanks,
- Karun

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

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

------_=_NextPart_001_01C213D1.AFA34280
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] Size backed up in a class !</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>bpimagelist -class &lt;classname&gt; -d =
&lt;startdate&gt; -e &lt;enddate&gt; -U</FONT>
</P>

<P><FONT SIZE=3D2>Looks like this:</FONT>
<BR><FONT SIZE=3D2>Backed =
Up&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Expires&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Files&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KB&nbsp; C&nbsp; Sched =
Type&nbsp;&nbsp; Class</FONT>
<BR><FONT SIZE=3D2>----------------&nbsp; ---------- -------- =
--------&nbsp; -&nbsp; ------------ ------------</FONT>
<BR><FONT SIZE=3D2>06/13/2002 00:07&nbsp; =
06/27/2002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100 66076512&nbsp; N&nbsp; =
Full Backup&nbsp; Oracle_bk1</FONT>
<BR><FONT SIZE=3D2>06/13/2002 00:07&nbsp; =
06/27/2002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 117 77939201&nbsp; N&nbsp; =
Full Backup&nbsp; Oracle_bk1</FONT>
<BR><FONT SIZE=3D2>06/13/2002 00:07&nbsp; =
06/27/2002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 119 79771644&nbsp; N&nbsp; =
Full Backup&nbsp; Oracle_bk1</FONT>
<BR><FONT SIZE=3D2>06/13/2002 00:07&nbsp; =
06/27/2002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 227 75616296&nbsp; N&nbsp; =
Full Backup&nbsp; Oracle_bk1</FONT>
</P>

<P><FONT SIZE=3D2>Add up the fifth column - or if you just want a =
total:</FONT>
<BR><FONT SIZE=3D2>bpimagelist -class &lt;classname&gt; -d =
&lt;startdate&gt; -e &lt;enddate&gt; -U | awk 'NR&gt;2 {sum=3Dsum+$5} =
END {print sum}'</FONT>
</P>

<P><FONT SIZE=3D2>-Mark</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Karunanidhi Subramanian [<A =
HREF=3D"mailto:karunanidhis AT hotmail DOT com">mailto:karunanidhis AT hotmail 
DOT com=
</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, June 14, 2002 11:35 AM</FONT>
<BR><FONT SIZE=3D2>To: Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] Size backed up in a class =
!</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi Folks !</FONT>
<BR><FONT SIZE=3D2>How can I calculate the size of the data backedup =
for a given date range for </FONT>
<BR><FONT SIZE=3D2>a particular class ?</FONT>
<BR><FONT SIZE=3D2>Thanks,</FONT>
<BR><FONT SIZE=3D2>- Karun</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________________________=
__</FONT>
<BR><FONT SIZE=3D2>Chat with friends online, try MSN Messenger: <A =
HREF=3D"http://messenger.msn.com"; =
TARGET=3D"_blank">http://messenger.msn.com</A></FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist&nbsp; -&nbsp; =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C213D1.AFA34280--

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