Networker

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

2009-08-05 04:18:36
Subject: Re: [Networker] Estimate how much is written to each pool ?
From: Marcel Hirter <marcel.hirter AT NE DOT CH>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 5 Aug 2009 04:04:15 -0400
Hi,
If you are working on unix try this

mminfo -s server_name -r "ssid,totalsize" -
q "pool=pool_name,savetime>yesterday 12:00"  |sed 1,1d |sort |uniq 
|awk 'BEGIN { sum = 0 }
{ sum += $2 }
END { print sum/1.e+9 " GB"  >>"/tmp/vol_tot.txt" }'

you change yesterday by last week or last month etc.

@+
Marcel

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