Networker

Re: [Networker] query the saveset size

2005-03-01 19:09:54
Subject: Re: [Networker] query the saveset size
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 1 Mar 2005 16:07:32 -0800
> 
> In regard to: [Networker] query the saveset size, Wang Chen said (at 
> 4:36pm...:
> 
> > If I know the nsavetime for a saveset, how can I query the size of it.
> > Thanks
> 
> You can't:
> 
> $mminfo -q 'nsavetime=1109679581' -r totalsize,nfiles
> mminfo: constraint `nsavetime' is only valid for reports
> usage: mminfo [-avV] [-o order] [-s server] [-x exportspec] [report]
> [query] [volname...]
> 
> <report>: [ -m | -p | -B | -S | -X | -r reportspec ]
> <query>:  [-c client] [-N name] [-t time] [-q queryspec]

Yes, you can.  You just don't use 'nsavetime' in query side.

The output of nsavetime (epoch seconds) is a valid input for savetime as
a query.

$ mminfo -av -r nsavetime | head -1
 1075927189
$ mminfo -q savetime=1075927189
 volume        client       date      size   level  name
DLT.001        tesclient    02/04/04  3806 MB full  /

-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

--
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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=