From owner-freebsd-questions Sat Mar 3 1:25:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 4072C37B719 for ; Sat, 3 Mar 2001 00:25:48 -0800 (PST) (envelope-from cjc@rfx-216-196-73-168.users.reflexcom.com) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 3 Mar 2001 00:23:49 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.1) id f238PiF15512; Sat, 3 Mar 2001 00:25:44 -0800 (PST) (envelope-from cjc) Date: Sat, 3 Mar 2001 00:25:38 -0800 From: "Crist J. Clark" To: TOPCAT CONSULTING Cc: freebsd-questions@FreeBSD.ORG Subject: Re: log rotation question Message-ID: <20010303002538.I89396@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: <3AA072C4.A4E7725D@sk.sympatico.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AA072C4.A4E7725D@sk.sympatico.ca>; from topcat@sk.sympatico.ca on Fri, Mar 02, 2001 at 10:27:49PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 02, 2001 at 10:27:49PM -0600, TOPCAT CONSULTING wrote: > > How does one *force* a rotation of /var/log/messages ? Not sure exactly what you mean but, # cd /var/log # mv messages messages.old && \ touch messages && \ kill -HUP `cat /var/run/syslog.pid` Will start a fresh file for you. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message