Mike Gerdts wrote:
On 4/5/06, Darren Reed <[EMAIL PROTECTED]> wrote:
Really what this is trying to make up for is the inability to
easily use grep with ifconfig in a meaningful way, so whether
or not this functionality belongs in ifconfig or not, I'm not
100% sure of.
I have run into the same problem in a couple of environments:
1) Servers with 10+ zones. In this case, I may want to take a look at
the interfaces for a particular zone but have a very hard time finding
them without piping through less then searching.
So what you want is something to the effect of:
ifconfig -a zone X
to just output interfaces that match "zone X" ?
Is this functionality something you need in ifconfig or
could it be just as useful in another command?
e.g.
ifconfig -a | ifgrep zone X
2) Servers with an IPMP group serving the routable network and 6+
networks serving as cluster interconnects.
Sounds like you've got your hands full there :)
Darren
_______________________________________________
networking-discuss mailing list
[email protected]