Networker

Re: [Networker] mminfo foo magic?

2004-04-19 15:39:00
Subject: Re: [Networker] mminfo foo magic?
From: Tim Mooney <mooney AT DOGBERT.CC.NDSU.NODAK DOT EDU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 19 Apr 2004 14:38:52 -0500
In regard to: Re: [Networker] mminfo foo magic?, Robert L. Harris said (at...:

>My full mminfo command is as such:
>
>{0}:/home/staff/rharris>mminfo -v -q 'copies=1, !incomplete, 
>level=0,pool=ONSITE' -v -o tR -r 'volume,ssid,totalsize'

[ ]
>
>(not the -v after the -q options).  The last 5 are the problems.

What the `-v' shows is being overridden by the fact that you're specifying
what fields to report on.

>When I try sumflags I get this:
>
>{1}:/home/staff/rharris>mminfo -v -q 'copies=1, !incomplete, 
>level=0,pool=ONSITE, sumflags=h' -o tR -r 'volume,ssid,totalsize'
>mminfo: constraint `sumflags' is only valid for reports
>usage: mminfo [-avV] [-o order] [-s server] [report] [query]
>[volname...]
>
><report>: [ -m | -p | -B | -S | -X | -r reportspec ]
><query>:  [-c client] [-N name] [-t time] [-q queryspec]

It gives you a pretty good idea what the problem is, though:

        mminfo: constraint `sumflags' is only valid for reports

In other words, you can't query on sumflags, but you can report them.
You'll have to postprocess the output in some manner, to find the
particular volume that contains the (h)ead of the saveset you're
interested in.  Having sumflags as the first column in the report output
might make it easiest to match using something like grep, awk, perl, or
even sed.

So, it's not as easy as you would like, but it's doable without too much
trouble.

Tim
--
Tim Mooney                              mooney AT dogbert.cc.ndsu.NoDak DOT edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

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

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