diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2021-09-08 17:04:58 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-09-09 10:00:39 -0400 |
commit | 5b245b1e449c6a05d09034bcb8290bffded79327 (patch) | |
tree | f98d2ce53f51fcd8c471e108ce1b031187c7d860 /man | |
parent | 2ab8ba3ecbd52e452cc554d515e0782801dcb4b6 (diff) | |
download | sos-5b245b1e449c6a05d09034bcb8290bffded79327.tar.gz |
[report] Implement --estimate-only
Add report option --estimate-only to estimate disk space requirements
when running a sos report.
Resolves: #2673
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/en/sos-report.1 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/man/en/sos-report.1 b/man/en/sos-report.1 index 36b337df..e8efc8f8 100644 --- a/man/en/sos-report.1 +++ b/man/en/sos-report.1 @@ -14,7 +14,7 @@ sos report \- Collect and package diagnostic and support data [--preset preset] [--add-preset add_preset]\fR [--del-preset del_preset] [--desc description]\fR [--batch] [--build] [--debug] [--dry-run]\fR - [--label label] [--case-id id]\fR + [--estimate-only] [--label label] [--case-id id]\fR [--threads threads]\fR [--plugin-timeout TIMEOUT]\fR [--cmd-timeout TIMEOUT]\fR @@ -317,6 +317,17 @@ output, or string data from the system. The resulting logs may be used to understand the actions that sos would have taken without the dry run option. .TP +.B \--estimate-only +Estimate disk space requirements when running sos report. This can be valuable +to prevent sosreport working dir to consume all free disk space. No plugin data +is available at the end. + +Plugins will be collected sequentially, size of collected files and commands outputs +will be calculated and the plugin files will be immediatelly deleted prior execution +of the next plugin. This still can consume whole free disk space, though. Please note, +size estimations may not be accurate for highly utilized systems due to changes between +an estimate and a real execution. +.TP .B \--upload If specified, attempt to upload the resulting archive to a vendor defined location. |