aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2021-04-26 12:45:04 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-04-30 10:25:38 -0400
commit5ac15f2c22d9a5d6b55caba1024ebbb8b92c5157 (patch)
treee3b0e5ccde7e2cbbfe0c8e32b3be98043294f4e8 /man
parentcebe909988b90a6ebf6e596438c5cdb47001ab76 (diff)
downloadsos-5ac15f2c22d9a5d6b55caba1024ebbb8b92c5157.tar.gz
[man] Properly document size limits in manpage
Updates the description of `--log-size` in the manpage for `report` so that it accurately reflects how size limitations are determined and imposed during collections. Closes: #1900 Resolves: #2513 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/en/sos-report.114
1 files changed, 11 insertions, 3 deletions
diff --git a/man/en/sos-report.1 b/man/en/sos-report.1
index 51cf3436..a6d247b4 100644
--- a/man/en/sos-report.1
+++ b/man/en/sos-report.1
@@ -168,9 +168,17 @@ testing or other plugin defined behaviour. Use of \--verify may cause
the time taken to generate a report to be considerably longer.
.TP
.B \--log-size
-Places a global limit on the size (in MiB) of any collected set of logs. The
-limit is applied separately for each set of logs collected by any
-plugin.
+Places a limit on the size of collected logs and output in MiB. Note that this
+causes sos to capture the last X amount of the file or command output collected.
+
+By default, this is set to 25 MiB and applies to all files and command output collected
+with the exception of journal collections, which are limited to 100 MiB.
+
+Setting this value to 0 removes all size limitations, and any files or commands
+collected will be collected in their entirety, which may drastically increase the
+size of the final sos report tarball and the memory usage of sos during collection
+of commands, such as very large journals that may be several GiB in size.
+
.TP
.B \--all-logs
Tell plugins to collect all possible log data ignoring any size limits