Re: Monitoring any changes in /var/log/messages to file

This is a discussion on Re: Monitoring any changes in /var/log/messages to file within the Linux Administration forums, part of the Linux Forums category; Sergiusz Michalski wrote: > Hi! > > Maybe you hav any good idea how to detect any new changes maked ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-13-2003
V. Turner
 
Posts: n/a
Default Re: Monitoring any changes in /var/log/messages to file

Sergiusz Michalski wrote:

> Hi!
>
> Maybe you hav any good idea how to detect any new changes maked in
> /var/log/messages and write it to new separate file. Any script???
>
> I've tried to use diff program but I need to have 2 files to compare so I
> don't think that this is an optional solution.
>
> Thanks for all advices.
>
> Serge M.


I've never used either, but "Unix System Administration Handbook" (E. Nemeth
et al., ISBN 0-13-020601-6) recommends swatch and logcheck for analyzing
logs. Quote: "While swatch can process an entire file in a single bound,
it's primarily intended to be left running so that it can review new
messages as they arrive, a la tail -f"
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:26 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0