nv-l
[Top] [All Lists]

RE: [NV-L] Counts, in a location?

To: "nv list" <nv-l@lists.ca.ibm.com>
Subject: RE: [NV-L] Counts, in a location?
From: Leslie Clark <lclark@us.ibm.com>
Date: Wed, 3 Jan 2007 17:04:07 -0500
Delivery-date: Wed, 03 Jan 2007 22:06:07 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

Others might be interested in this as well. It's on your menu already, Becki.

I often want to generate a list of selected things on the map, whether I've selected them in a location submap, or selected them through the locate function, the View..Highlights...Select Highlights. To generate that list, I add a custom function to the Reports menu. Here's an example:

In /usr/OV/reports/C/PrintSelected.sh
============================================================
#!/bin/ksh
# Print the contents of the Selected Object List.        
name=$(basename $0)
LSDIR=<your local scripts directory>
xnmappmon -geometry 680x500 -commandTitle "$name" \
   -commandHeading "Print Selected Objects List" \
   -cmd $LSDIR/selected.sh "$OVwSelections"

In <your local scripts directory>/selected.sh
===================================
#!/bin/ksh
# selected.sh
#
#  A script to be called from the Monitor..Reports menu
# for creating a sortable and printable list of the things
# that are presently Selected in the map
#
#set -x
SLIST=$1
echo $1 | tr " " "\012"
exit


Cordially,

Leslie A. Clark
IT Services Specialist, Network Mgmt
Information Technology Services Americas
IBM Global Services
(248) 552-4968 Voicemail, Fax, Pager


"Kain, Becki \(B.\)"  <bkain1@ford.com>
Sent  by: nv-l-bounces@lists.ca.ibm.com  

01/03/2007 11:46 AM  
Please respond  to
Tivoli NetView Discussions  <nv-l@lists.ca.ibm.com>


To
<nv-l@lists.ca.ibm.com>  
cc
Subject
[NV-L] Counts, in a  location?






Hello all:  

Is there a way to do a count of items in a location,  not a smartset?  This is for netview 7.1.4 fp4 for suse linux, if that  matters.  Thanks  

-becki kain _______________________________________________
NV-L mailing  list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l  (Browser access limited to internal IBM'ers only)



_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web