way to flush /var/log/message

Mikkel L. Ellertson mellertson at gmail.com
Sun May 20 12:20:46 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/19/2012 11:51 PM, Paul Allen Newell wrote:
> Hello:
> 
> Is there a way to flush output to /etc/log/message so a tail -f
>  catches things when they happen rather than what I think I am
> seeing as a buffer hold-until-full delay?
> 
> Thanks in advance, Paul

What you are seeing is the last last 10 lines of the file, and
then new additions as it is added to the file. This is the way
tail -f works. You may want to read the man or info page on tail.

Mikkel
- -- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+44ZcACgkQqbQrVW3JyMRv1wCbBDEnRbhXLU/DVBxd7dfCLo2r
Ky4AnRv6uLKTVV1A+V6sQzSY2jNdYs4f
=BXW1
-----END PGP SIGNATURE-----


More information about the users mailing list