Networker

[Networker] Estimate how much is written to each pool ?

2009-08-04 15:26:35
Subject: [Networker] Estimate how much is written to each pool ?
From: dmitri <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 4 Aug 2009 15:21:23 -0400
Here is what I use (UNIX):

#!/usr/bin/bash
TOTAL=0
printf "\ntotal size of FULL backups for the last week run, by the 
groups&#58;\n"
for ,list all your active groups here> 
do
&nbsp; SIZE=`mminfo -ar totalsize -t'last week' -qlevel=full,group=$NSRgroup | 
awk '&#123;sum=sum+$0&#125;;END &#123;print sum&#125;'`&nbsp; &nbsp;
&nbsp; SIZEgb=`expr $SIZE / 1073741824`
&nbsp; TOTAL=`expr $TOTAL + $SIZEgb`
&nbsp; printf $NSRgroup"&#58;\t"$SIZEgb" GB\n"
done
printf "====\nTOTAL&#58;\t\t$TOTAL GB\n\n"
[/code]

+----------------------------------------------------------------------
|This was sent by dmitri_ryjikh AT ml DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER