Networker

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

2004-05-07 15:27:22
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: Fri, 7 May 2004 12:27:16 -0700
>
> Anyone know if there's a way to disregard output lines pertaining to a
> specific pool in mminfo? I want all lines but those applying to a given
> pool. I can't see a way to do that other than 'grep -v', but there are
> lines that contain that pool name in other strings so you loose those
> line if you do this. Hmm ...

Not simply in one line.

In a script, I might run an mminfo to collect the list of all pools,
then strip the pool I don't want, then run multiple queries for each of
the remaining pools.

Or you reformat your report so that pool is the first item, then you can
easily    mminfo <blah> | egrep -v '^badpool'

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