From owner-cvs-all Sun Dec 15 11:28: 3 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6A4437B401; Sun, 15 Dec 2002 11:28:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C4543E4A; Sun, 15 Dec 2002 11:28:02 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBFJS2mV033690; Sun, 15 Dec 2002 11:28:02 -0800 (PST) (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBFJS24Z033689; Sun, 15 Dec 2002 11:28:02 -0800 (PST) Message-Id: <200212151928.gBFJS24Z033689@repoman.freebsd.org> From: Maxim Sobolev Date: Sun, 15 Dec 2002 11:28:02 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.8 newsyslog.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sobomax 2002/12/15 11:28:02 PST Modified files: usr.sbin/newsyslog newsyslog.8 newsyslog.c Log: Add a new `W' flag, that when used in conjunction with the `Z' flag or the `J' flag means that newsyslog should wait for previously started compression jobs to complete before starting a new one for this entry. When it is used along with the `G' flag, in the case when several logfiles match the pattern and should be compressed, the newsyslog will compress logs one by one, ensuring that only one compression job is running at a time. This prevents newsyslog(8) from overloading system by starting several compression jobs on big files simultaneously. Sponsored by: Porta Software Ltd MFC after: 2 weeks Revision Changes Path 1.37 +18 -0 src/usr.sbin/newsyslog/newsyslog.8 1.48 +20 -8 src/usr.sbin/newsyslog/newsyslog.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message