nv-l
[Top] [All Lists]

Re: [nv-l] nvUtil questions

To: nv-l@lists.tivoli.com
Subject: Re: [nv-l] nvUtil questions
From: "Leslie Clark" <lclark@us.ibm.com>
Date: Fri, 21 Jun 2002 01:07:15 -0400
The whitespace is the blank line returned for each of those
nodes in your smartset which do not have a routerSysName.
That is, the non-routers. So to strip out those blank lines,

nvUtil l Cisco "%routerSysName%"  | grep -v "^$"


Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit



                                                                                
                                            
                      "Westphal,                                                
                                            
                      Raymond"                 To:       "NV List (E-mail)" 
<nv-l@lists.tivoli.com>                         
                      <RWestphal@erac.c        cc:                              
                                            
                      om>                      Subject:  [nv-l] nvUtil 
questions                                            
                                                                                
                                            
                      06/20/2002 01:36                                          
                                            
                      PM                                                        
                                            
                                                                                
                                            
                                                                                
                                            



Hello Everyone.
NV 7.1.2 on AIX 4.3.3

If you have a Cisco or other equipment collection (SmartSet), try this:

nvUtil l Cisco "%Selection Name%"
nvUtil l Cisco "%routerSysName%"

The output of the Selection Name version of the command contains no extra
characters. The line count of the output on both commands is the same but
the routerSysName nvUtil command includes a large amount of white space. Is
there an easy way within the nvUtil command to strip out these extraneous
spaces?

Thanks in advance.

Ray Westphal
Enterprise Rent-A-Car


---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)





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

Archive operated by Skills 1st Ltd

See also: The NetView Web