supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Vincent Danen <vdanen@linsec.ca>
Subject: Re: monitoring svlogd-produced logfiles
Date: Fri, 16 Jun 2006 13:08:26 -0600	[thread overview]
Message-ID: <20060616190826.GV898@annvix.org> (raw)
In-Reply-To: <20060616131807.GA3517@run.galis.org>

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

* George Georgalis <george@galis.org> [2006-06-16 09:18:07 -0400]:

> >> OS=$(uname)
> >> case $OS in
> >> 	NetBSD|FreeBSD|Dragonfly|Darwin)
> >> 		alias t='tail -F'
> >> 	;;
> >> 	Linux)
> >> 		alias t='tail --follow=name'
> >> 	;;
> >> 	OpenBSD)
> >> 		alias t='tail -f'
> >> 	;;
> >> esac
> >
> >Linux understand -F too.
> 
> *sigh* not my linux
> 
> tail -F /var/log/socklog/main/current 
> tail: invalid option -- F
> Try `tail --help' for more information.

Interesting.  Why distro and version of coreutils?  -F is the equivalent
to --follow=name in newer coreutils; I don't know when it was added, but
I've been seeing it for a while.

-- 
{FEE30AD4 : 7F6C A60C 06C2 4811 FA1C  A2BC 2EBC 5E32 FEE3 0AD4}
mysql> SELECT * FROM users WHERE clue > 0;
Empty set (0.00sec)
:: Annvix - Secure Linux Server: http://annvix.org/ ::

[-- Attachment #2: Type: application/pgp-signature, Size: 186 bytes --]

  reply	other threads:[~2006-06-16 19:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 23:35 Vincent Danen
2006-06-14 23:40 ` Alex Efros
2006-06-16 11:03   ` George Georgalis
2006-06-16 11:08     ` Alex Efros
2006-06-16 13:18       ` George Georgalis
2006-06-16 19:08         ` Vincent Danen [this message]
2006-06-18  2:48           ` George Georgalis
2006-06-18  2:57             ` Alex Efros
2006-06-14 23:59 ` Alex Efros
2006-06-15  0:10   ` Vincent Danen
2006-06-15  0:25     ` Alex Efros
2006-06-15  3:32       ` Vincent Danen
2006-06-15 16:32         ` Vincent Danen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060616190826.GV898@annvix.org \
    --to=vdanen@linsec.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).