nv-l
[Top] [All Lists]

Re: How can I change size of the netmon.trace file?

To: nv-l@lists.tivoli.com
Subject: Re: How can I change size of the netmon.trace file?
From: "Oliver Bruchhaeuser" <oliver.bruchhaeuser@de.ibm.com>
Date: Fri, 10 Aug 2001 13:05:12 +0200
Oh sorry ... too much errors ..... still not tested, but:

#!/bin/ksh
while true
do
  sleep 10
  if [ -f /usr/OV/log/netmon.trace.old ]
  then
    TIMESTAMP=`date +"%y%m%d%H%M%S"`
    mv /usr/OV/log/netmon.trace.old /usr/OV/log/netmon.trace.$TIMESTAMP
  fi
done

Kind regards
Oliver Bruchhaeuser



                                                                                
                                             
                    Oliver                                                      
                                             
                    Bruchhaeuser/Germany/Contr       To:     IBM NetView 
Discussion <nv-l@tkg.com>                           
                    /IBM@IBMDE                       cc:                        
                                             
                    Sent by:                         Subject:     Re: [NV-L] 
How can I change size of the netmon.trace file? 
                    owner-nv-l@tkg.com                                          
                                             
                                                                                
                                             
                                                                                
                                             
                    10.08.2001 11:33                                            
                                             
                    Please respond to IBM                                       
                                             
                    NetView Discussion                                          
                                             
                                                                                
                                             
                                                                                
                                             




there is no possibility to change the size of netmon.trace files.

But you can use a small script running in the background, like:

#!/bin/ksh
while true
do
  if [ -f /usr/OV/log/netmon.trace.old ]
  do
    TIMESTAMP=`date +"%y%m%d%H%M%S"`
    mv /usr/OV/log/netmon.trace.old /usr/OV/log/netmon.trace.$TIMESTAMP
done

I've just typed it without testing .....

Kind regards
Oliver Bruchhaeuser




                    Bartlomiej
                    Grenda/Poland/       To:     nv-l@tkg.com
                    IBM@IBMPL            cc:
                    Sent by:             Subject:     [NV-L] How can I
change size of the netmon.trace file?
                    owner-nv-l@tkg
                    .com


                    10.08.2001
                    10:47
                    Please respond
                    to IBM NetView
                    Discussion







Tivoli NetView 6.0.2 on AIX. 4.3.3

I'm trying to capture some problems with false alarms (described in my
previous post). Therefor I'm collecting netmon traces at highest level
possible (netmon -M -1). But netmon.trace file (and accompanying
netmon.trace.old of course) fills very quickly and it seems to have defined
max size so I'm loosing interesting for me log (I've got only later logs in
it, I don't have it event in netmon.trace.old file). Where is netmon.trace
file size defined? Can I change it?

Pozdrowienia/Regards

Bartlomiej Grenda
_____________________________________
IBM Poland, I/T Specialist
tel +48-61-8649493, fax +48-61-8649488
e-mail: Bartlomiej.Grenda@pl.ibm.com


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



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


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

Archive operated by Skills 1st Ltd

See also: The NetView Web