Re: [Networker] reporting volumes on retention
2008-05-16 13:27:47
On Fri, May 16, 2008 at 12:49:25PM -0400, MIchael Leone wrote:
> > If that's the case, one place to start would be with the mminfo command.
> > Look at the "totalsize" attribute. For example:
> >
> > $ mminfo -ot -q 'client=dogbert.cc.ndsu.nodak.edu' \
> > -r 'savetime,level,totalsize,nfiles' | head -n 10
>
> You might want to try it as "totalsize(2)", which will list the size in
> GB, which is what you say you need.
Except it doesn't force a particular unit (like GB). That turns simple
addition into a parsing task.
> 19625473 1210807808 admnlts003 5/14/2008 7:30:08 PM 2648 KB 18
> 4213929486 1210807821 admnlts003 5/14/2008 7:30:21 PM 4479 MB 25062
> 4247483905 1210807808 admnlts003 5/14/2008 7:30:12 PM 309 GB 15697
[...]
--
Darren
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
|
|
|