Networker

Re: [Networker] How to filer out a given pool on mminfo?

2004-05-10 10:56:53
Subject: Re: [Networker] How to filer out a given pool on mminfo?
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 10 May 2004 07:56:47 -0700
> You can also use the -q 'pool!=<bad_pool>' option in the mminfo
> query.. This way even multiple pools can be omitted in the same query.

Does this work for you?  Is it a 7.x thing?

$ mminfo -av -q 'pool!=Default'
mminfo: unknown query constraint: pool!
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]


The 6.x man page doesn't list != as a valid comparator

[...]
                      , comp is a valid comparator for the attri-
     bute, from the set `>', `>=', `=', '<=', '<', and  value  is
     the  value  being compared.
[...]

And even if it did exist, it probably wouldn't work on 'pool' because
it's a string attribute and usually only '=' is supported for
non-numeric attributes.

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