nv-l

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

2007-01-03 17:06:07
Subject: RE: [NV-L] Counts, in a location?
From: Leslie Clark <lclark AT us.ibm DOT com>
To: "nv list" <nv-l AT lists.ca.ibm DOT com>
Date: Wed, 3 Jan 2007 17:04:07 -0500

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 AT ford DOT com>
Sent  by: nv-l-bounces AT lists.ca.ibm DOT com  

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


To
<nv-l AT lists.ca.ibm DOT 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 AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l  (Browser access limited to internal IBM'ers only)



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