From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: audit rotate question Date: Wed, 20 May 2009 15:29:11 -0400 Message-ID: <200905201529.11475.sgrubb@redhat.com> References: <1242844621.6546.149.camel@homeserver> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1242844621.6546.149.camel@homeserver> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Wednesday 20 May 2009 02:37:01 pm LC Bruzenak wrote: > How can I tell when the rotate is complete so I can move the files out? Use ls -i /var/log/audit/audit.log and watch for the inode to change. Read it first, rotate, and then read again. If you don't see progress after a certain amount of time, you might want to check syslog for problems. -Steve