nv-l

Re: Dump the contense of a location

2002-01-03 03:05:33
Subject: Re: Dump the contense of a location
From: "Oliver Bruchhaeuser" <oliver.bruchhaeuser AT de.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Thu, 3 Jan 2002 09:05:33 +0100
Scott,

I think such a "NetView build in" command doesn't exist.
But I wrote a "quick and dirty" script in the past that might help you:
-------------------
#!/bin/ksh
ovmapdump > ovmapdump.out
Locations=`nvUtil e "(isLocation=TRUE)"`
for Location in $Locations
do
  echo "LOCATION: $Location"
  LocationID=`grep "^Submap " ovmapdump.out | grep " $Location " | awk
'{print $2}'`
  ObjectIDsInLocation=`grep "^Symbol" ovmapdump.out | egrep " $LocationID
[ ]+Icon" | awk '{print $(NF-2)}'`
  for ObjectIDInLocation in $ObjectIDsInLocation
  do
    ovobjprint -o $ObjectIDInLocation | grep "Selection Name" | cut -d\"
-f2
  done
done
rm ovmapdump.out
-------------------

Feel free to modify so that it fits your need ;-)

Kind regards

Oliver Bruchhaeuser
Tivoli NetView EMEA L2 Support

IBM Deutschland GmbH - ITS Tivoli - Dept. 7977 - Hechtsheimer Str. 2 -
55131 Mainz - Germany
Phone: +49-6131-84-5108 - Fax: +49-6131-84-6585 - email:
bruchhae AT de.ibm DOT com

Need help with Tivoli Software Products?
Ask Tivoli!
http://www.tivoli.com/asktivoli (login with your customer account)


                                                                                
                                       
                    "Scott Bursik"                                              
                                       
                    <[email protected]       To:     nv-l AT tkg DOT com            
                                              
                    mail.com>            cc:                                    
                                       
                    Sent by:             Subject:     [NV-L] Dump the contense 
of a location                           
                    [email protected]                                              
                                       
                    .com                                                        
                                       
                                                                                
                                       
                                                                                
                                       
                    02.01.2002                                                  
                                       
                    17:33                                                       
                                       
                    Please respond                                              
                                       
                    to IBM NetView                                              
                                       
                    Discussion                                                  
                                       
                                                                                
                                       
                                                                                
                                       






NetView 7.1 AIX 4.3.3

Is there a command that will allow me to dump the contense of a location in
a map via the command line? I thought there was, but I am having trouble
remembering what it is?

Thanks,

Scott Bursik

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


<Prev in Thread] Current Thread [Next in Thread>