From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1172 Path: news.gmane.org!not-for-mail From: "George Georgalis" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: monitoring svlogd-produced logfiles Date: Sat, 17 Jun 2006 22:48:52 -0400 Message-ID: <20060618024851.GB758@run.galis.org> References: <20060614233508.GP898@annvix.org> <20060614234004.GH8706@home.power> <20060616110303.GB4804@run.galis.org> <20060616110806.GN20474@home.power> <20060616131807.GA3517@run.galis.org> <20060616190826.GV898@annvix.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150598943 24912 80.91.229.2 (18 Jun 2006 02:49:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jun 2006 02:49:03 +0000 (UTC) Original-X-From: supervision-return-1408-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Jun 18 04:49:01 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1FrnLN-0002vg-Rq for gcsg-supervision@gmane.org; Sun, 18 Jun 2006 04:48:57 +0200 Original-Received: (qmail 11428 invoked by uid 76); 18 Jun 2006 02:49:18 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 11423 invoked from network); 18 Jun 2006 02:49:17 -0000 Mail-Followup-To: supervision@list.skarnet.org Original-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060616190826.GV898@annvix.org> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1172 Archived-At: On Fri, Jun 16, 2006 at 01:08:26PM -0600, Vincent Danen wrote: >* George Georgalis [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. Debian Woody (internal... migrating to BSD) $ tail --version tail (GNU textutils) 2.0 // George -- George Georgalis, systems architect, administrator < http://galis.org/ cell:646-331-2027 mailto:george@galis.org