]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new `W' flag, that when used in conjunction with the `Z' flag or the
authorMaxim Sobolev <sobomax@FreeBSD.org>
Sun, 15 Dec 2002 19:28:02 +0000 (19:28 +0000)
committerMaxim Sobolev <sobomax@FreeBSD.org>
Sun, 15 Dec 2002 19:28:02 +0000 (19:28 +0000)
commitbffa911730a11fd740b9bc9281e2c3f65f80b738
treec366bd6ab4a9bef894338b29111954e0822185b2
parent8efcd9a794b8c0dc2fd91bb8fa0f48f9a9b4660f
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
usr.sbin/newsyslog/newsyslog.8
usr.sbin/newsyslog/newsyslog.c