summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog/newsyslog.8
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-12-15 19:28:02 +0000
committersobomax <sobomax@FreeBSD.org>2002-12-15 19:28:02 +0000
commit233f99ac853934697c268615c66bbf40d63568a1 (patch)
treec366bd6ab4a9bef894338b29111954e0822185b2 /usr.sbin/newsyslog/newsyslog.8
parent668d95fdc48725b7e7dccf426eb6ed4d48ce6006 (diff)
downloadFreeBSD-src-233f99ac853934697c268615c66bbf40d63568a1.zip
FreeBSD-src-233f99ac853934697c268615c66bbf40d63568a1.tar.gz
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
Diffstat (limited to 'usr.sbin/newsyslog/newsyslog.8')
-rw-r--r--usr.sbin/newsyslog/newsyslog.818
1 files changed, 18 insertions, 0 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.8 b/usr.sbin/newsyslog/newsyslog.8
index 03f540b..ea24206 100644
--- a/usr.sbin/newsyslog/newsyslog.8
+++ b/usr.sbin/newsyslog/newsyslog.8
@@ -292,6 +292,7 @@ turned over should not be included. The
flag means nothing, but can be used as a placeholder when the
.Ar path_to_pid_file
field is specified.
+The
.Ar G
flag means that the specified
.Ar logfile_name
@@ -302,6 +303,23 @@ options.
See
.Xr glob 3
for details on syntax and matching rules.
+The
+.Ar W
+flag
+in conjunction with the
+.Ar Z
+flag or the
+.Ar J
+flag means that
+.Nm
+should wait for previously started compression jobs to complete before
+starting a new one for this entry. When it is used along with the
+.Ar G
+flag, in the case when several logfiles match the pattern and should be
+compressed, the
+.Nm
+will compress logs one by one, ensuring that only one compression job
+is running at a time.
.It Ar path_to_pid_file
This optional field specifies
the file name to read to find the daemon process id. If this
OpenPOWER on IntegriCloud