[HPADM] Script to pull out specific IPs from all the test files.

From: Neil Paniraj (npaniraj@yahoo.com)
Date: Tue Apr 17 2007 - 15:22:15 EDT


Fellow SAs:

         There are several VLANS which are going to be
have their IP Ranges changed this weekend in the place
I work. I need to put together a script to pull out
all the details related to specific IP Address like
192.168.X.X and see where all is it being used. I have
service guard clusters in my environment. I tried to
do a search with several options of "find" to pull the
details I want. But it checks for Binary files and
/var/adm/syslog/syslog.log, oldsyslog file,
/var/mail/user files etc. etc. I get a lot of
information. Does anybody have good scripts which
filter the most needed IPs which I need to check out
other than the usual hosts, netconf, resolv.conf etc.
etc. [I am really very poor in writing scripts]. Any
input from you would be most appreciated.

Regards,
NEIL.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:56 EDT