Re: usong aterm to monitor files

Albert Dorofeev albert@mail.dma.be
Wed, 24 Feb 1999 10:27:52 +0100 (CET)


Albert Schueller writes:
> Quoting Julian Catchen (topeka@psu.edu):
> > Hello everyone-
> > 
> > I was wondering if it was possible to monitor an external file with aterm.  I
> > know it is possible with xconsole using the -file parameter.  I want to use
> > aterm to monitor /var/log/messages instead of using the xconsole.
> > 
> > Thanks...
> 
> Try aterm -e tail -f /var/log/messages &

Actually I would recommend using the 'tailf' tool
instead of standard 'tail' for this. It comes with
the 'apmd' package and saves your disk quite some
buffer flushing (especially useful on laptops).

Albert

-- 
Albert Dorofeev http://www.tigr.net/ http://bewoner.dma.be/Albert/
fingerprint = C9 49 D0 F3 41 FA 8C D8  E9 5C 6A D4 F1 6D 65 15
Anything good in life is either illegal, immoral or fattening.

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html