From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1167 Path: news.gmane.org!not-for-mail From: Vincent Danen Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: monitoring svlogd-produced logfiles Date: Thu, 15 Jun 2006 10:32:28 -0600 Organization: Annvix Message-ID: <20060615163228.GF898@annvix.org> References: <20060614233508.GP898@annvix.org> <20060614235909.GA20474@home.power> <20060615001005.GR898@annvix.org> <20060615002526.GC20474@home.power> <20060615033204.GU898@annvix.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2r9at8cGmvB+qaMS" X-Trace: sea.gmane.org 1150389211 19546 80.91.229.2 (15 Jun 2006 16:33:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jun 2006 16:33:31 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-1403-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Jun 15 18:33:29 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 1FqumG-0006U7-PR for gcsg-supervision@gmane.org; Thu, 15 Jun 2006 18:33:04 +0200 Original-Received: (qmail 18179 invoked by uid 76); 15 Jun 2006 16:33:25 -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 18173 invoked from network); 15 Jun 2006 16:33:24 -0000 Original-To: Vincent Danen Content-Disposition: inline In-Reply-To: <20060615033204.GU898@annvix.org> X-Mailer: Mutt 1.5.x/OS X 10.4.x X-PGP-Key: http://linsec.ca/vdanen.asc X-URL: http://annvix.org/ User-Agent: Mutt/1.5.10i X-SA-Exim-Connect-IP: 68.149.37.7 X-SA-Exim-Mail-From: vdanen@annvix.org X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on hades.annvix.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=6.0 tests=ALL_TRUSTED autolearn=ham version=3.1.0 X-SA-Exim-Version: 4.2 (built Wed, 01 Feb 2006 18:29:36 -0700) X-SA-Exim-Scanned: Yes (on hades.annvix.org) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1167 Archived-At: --2r9at8cGmvB+qaMS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Vincent Danen [2006-06-14 21:32:04 -0600]: > > > BTW, I think I sent the response on the "tail -F" thing to you and not > > > the list... to summ, I did try "-n 0 -F" and it didn't follow. Could= be > > > a swatch thing tho... I'll have to try it again and see if it still > > > doesn't work. If it doesn't, I still need to find an alternative to = it, > > > so any suggestions are welcome. > >=20 > > Yep. To summ my reply :) I suggest using script-wrapper around tail to > > a) force needed params for tail > > b) debug which param swatch try to use when running tail (without hard > > things like strace) >=20 > Well, I can see what swatch is doing just by executing ps... I can see > that it calls it with the right args. I'll see tomorrow if it picks up > the new ./current file after it rotates (about another 300k left before > it rotates). well, using "tail -n 0 -F" seems to work. So it must have been the other option "--max-unchanged-stats=3D3" that was causing grief. Thanks again for the mental kicks. --=20 {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/ :: --2r9at8cGmvB+qaMS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEkYucLrxeMv7jCtQRArQlAJ4s85dV8s/5SLCU1VyoUYBP2u3qfwCgn4cM QjVkJVFCPDmcVQcyZMXguts= =O6Ah -----END PGP SIGNATURE----- --2r9at8cGmvB+qaMS--