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

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:
ovmapdump > ovmapdump.out
Locations=`nvUtil e "(isLocation=TRUE)"`
for Location in $Locations
  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
    ovobjprint -o $ObjectIDInLocation | grep "Selection Name" | cut -d\"
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]                                              
                    Please respond                                              
                    to IBM NetView                                              

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?


Scott Bursik

MSN Photos is the easiest way to share and print your photos:

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

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