Networker

Re: [Networker] How to get the total size of data that were backed up

2005-01-12 16:57:54
Subject: Re: [Networker] How to get the total size of data that were backed up
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 12 Jan 2005 17:01:05 -0500
How about something like:

mminfo -s server -q 'group=group_name,savetime>=date' -r 'totalsize' |
addit

where addit is a simple shell script like:

#!/bin/sh

awk 'BEGIN { sum = 0 }
     { sum += $1 }
     END { print sum }'

Would that work?


Zaigui Wang wrote:
> 
> Hi,
> 
> I need to get some idea of how much data we are backing up daily for a 
> certain save group. What is
> the command syntax to get this?
> 
> Thanks!
> 
> Zaigui
> 
> =====
> Regards,
> Zaigui Wang
> (408)544-8612
> (408)425-0236
> 
> 
> __________________________________
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile phone.
> http://mobile.yahoo.com/maildemo
> 
> --
> Note: To sign off this list, send a "signoff networker" command via email
> to listserv AT listserv.temple DOT edu or visit the list's Web site at
> http://listserv.temple.edu/archives/networker.html where you can
> also view and post messages to the list. Questions regarding this list
> should be sent to stan AT temple DOT edu
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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