Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: My 10 liner alert log monitoring WORKING shell Script !!! Comments Please !!!!

Re: My 10 liner alert log monitoring WORKING shell Script !!! Comments Please !!!!

From: Radoulov, Dimitre <cichomitiko_at_gmail.com>
Date: Fri, 3 Nov 2006 19:52:22 +0100
Message-ID: <000d01c6ff79$33f3a8d0$3c08310a@SYSTEM1>


> You can not worry about a daemon restart if you use 'tail --follow=name
> alertSID.log'.

What version of tail you're referring to? -f and --follow[={name|descriptor}] are synonyms (checked for tail (coreutils) 4.5.3)
and not available for the commercial versions (checked for SunOS 5.8 Generic 111225-02
and tail.c $Date: 2004/06/03 02:56:22 $Revision: r11.11/4 PATCH_11.11 (PHCO_27138) for HP-UX B.11.11 ).

       -f, --follow[={name|descriptor}]
              output appended data as the file grows; -f, --follow, 
and --fol-
              low=descriptor are equivalent

May be you wanted to say -retry, available on some tail versions (Linux):

       --retry
              keep trying to open a file even if it is inaccessible when 
tail
              starts  or  if it becomes inaccessible later -- useful only 
with
              -f

or

       -F same as --follow=name --retry

Which could be the solution.

Regards
Dimitre

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Nov 03 2006 - 12:52:22 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US