[Veritas-bu] Need total bytes backed up by day

2004-09-30 11:36:04
Subject: [Veritas-bu] Need total bytes backed up by day
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Thu, 30 Sep 2004 09:36:04 -0600
...or you can have awk do the math for you:

 bpimagelist -U -hoursago 24 | awk '{sum=sum+$5/1024/1024}END{print sum "


-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Jerry
Sent: Thursday, September 30, 2004 7:52 AM
To: BeDour, Wayne; 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: Re: [Veritas-bu] Need total bytes backed up by day

bpimagelist -hoursago 24 -U|awk {'print $5'}|grep -v
KB|grep -v "^-"

Add those up and you should get the value.  You should
be able to add a "+" to each line and pipe it to "bc"
in unix.

--- "BeDour, Wayne" <WBedour AT lear DOT com> wrote:

> Anyone out there know how to gather the total bytes
> backed up by day
> information.  I don't necessarily need it by policy
> just a 24 hour period.
> We are looking for spikes in our network traffic and
> would like to compare
> NetBackup activity to what we are seeing on the
> network and our disk frames.
> Thanks in advance...
> Wayne BeDour 
> IT Unix System Administrator 
> PH: 313-240-3374  FAX:  313-240-3065  
> Internet:  wbedour AT lear DOT com 
> **********************
> **********************
> This E-mail message and any attachments may contain 
> legally privileged, confidential or proprietary 
> information. If you are not the intended
> recipient(s),
> or the employee or agent responsible for delivery of
> this message to the intended recipient(s), you are 
> hereby notified that any dissemination, distribution
> or copying of this E-mail message is strictly 
> prohibited. If you have received this message in 
> error, please immediately notify the sender and 
> delete this E-mail message from your computer.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu

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