From 5c193a7c3cba491a530556b7143e3a49ef704847 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Sun, 30 Oct 2022 17:06:38 +0300 Subject: [PATCH] man: document "s" is default --vacuum-time= suffix --- man/journalctl.xml | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/man/journalctl.xml b/man/journalctl.xml index 969bcaec016..d54937a2204 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -742,22 +742,31 @@ - Removes the oldest archived journal files until the disk space they use falls below - the specified size (specified with the usual K, M, - G and T suffixes), or all archived journal files contain no - data older than the specified timespan (specified with the usual s, - m, h, days, months, - weeks and years suffixes), or no more than the specified - number of separate journal files remain. Note that running has only - an indirect effect on the output shown by , as the latter includes - active journal files, while the vacuuming operation only operates on archived journal - files. Similarly, might not actually reduce the number of journal - files to below the specified number, as it will not remove active journal files. + removes the oldest archived journal files until the + disk space they use falls below the specified size. Accepts the usual K, + M, G and T suffixes (to the base of + 1024). + + removes archived journal files older than the specified + timespan. Accepts the usual s (default), m, + h, days, months, weeks + and years suffixes, see + systemd.time7 for + details. + + leaves only the specified number of separate journal + files. + + Note that running has only an indirect effect on the output + shown by , as the latter includes active journal files, while the + vacuuming operation only operates on archived journal files. Similarly, + might not actually reduce the number of journal files to below the + specified number, as it will not remove active journal files. , and - may be combined in a single invocation to enforce any combination - of a size, a time and a number of files limit on the archived journal files. Specifying any of - these three parameters as zero is equivalent to not enforcing the specific limit, and is thus + may be combined in a single invocation to enforce any combination of + a size, a time and a number of files limit on the archived journal files. Specifying any of these + three parameters as zero is equivalent to not enforcing the specific limit, and is thus redundant. These three switches may also be combined with into one command. If