Networker

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

2004-05-10 04:16:41
Subject: Re: [Networker] How to filer out a given pool on mminfo?
From: "Krishnan, Ramamurthy (Temp)" <Ramamurthy.Krishnan AT KPMG.CO DOT UK>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 10 May 2004 09:15:50 +0100
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.

-----Original Message-----
From: Darren Dunham [mailto:ddunham AT TAOS DOT COM]
Sent: 07 May 2004 20:27
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] How to filer out a given pool on mminfo?


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


                Email Disclaimer

This email has been sent from KPMG LLP, a UK limited
liability partnership, or from one of the companies within
its control (which include KPMG Audit Plc , KPMG United
Kingdom Plc and KPMG UK Limited). The information in
this email is confidential and may be legally privileged.
It is intended solely for the addressee.  Access to this
email by anyone else is unauthorised. If you are not the
intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it,
 is prohibited and may be unlawful.  When addressed to
our clients any opinions or advice contained in this email
are subject to the terms and conditions expressed in the
governing KPMG client engagement letter.

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