summaryrefslogtreecommitdiff
path: root/utilities/bugtool/ovs-bugtool.8.in
blob: 8729214607fbffa9ca705f551c6fe455cc7b865c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.\" -*- nroff -*-
.de IQ
.  br
.  ns
.  IP "\\$1"
..
.TH ovs\-bugtool 8 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.\" This program's name:
.ds PN ovs\-bugtool
.
.SH NAME
ovs\-bugtool \- Open vSwitch bug reporting utility
.
.SH SYNOPSIS
.B ovs\-bugtool
.
.SH DESCRIPTION
Generates a debug bundle with useful information about Open vSwitch on this
system and places it in \fB/var/log/ovs-bugtool\fR.
.
.SH "COLLECTION OPTIONS"
.PP
These options influence what categories of data \fBovs\-bugtool\fR
collects.
.
.IP "\fB\-\-entries=\fIlist\fR"
Collect the capabilities specified in the comma-separated \fIlist\fR.
.IP "\fB\-\-all\fR"
Collect all available capabilities.
.IP "\fB\-\-ovs\fR"
In addition to Open vSwitch configuration and status,
\fBovs\-bugtool\fR can collect a variety of relevant system
information.  This option limits collection to Open vSwitch-specific
categories.
.IP "\fB\-\-log\-days=\fIdays\fR"
Include the logs with last modification time in the previous \fIdays\fR days
in the debug bundle. The number of log files included has a big impact on the
eventual bundle size. The default value is 20 days.
.IP "\fB\-y\fR"
.IQ "\fB\-\-yestoall\fR"
Answer yes to all prompts.
.IP "\fB\-\-capabilities\fR"
Writes the categories that \fBovs\-bugtool\fR can collect on stdout in
XML, then exits.
.
.SH "OUTPUT OPTIONS"
.PP
These options influence the format and destination of
\fBovs\-bugtool\fR output.
.
.IP "\fB\-\-output=\fIfiletype\fR"
Generates a debug bundle with the specified file type.  Options include
\fBtar\fR, \fBtar.gz\fR, \fBtar.bz2\fR, and \fBzip\fR.
.IP "\fB\-\-outfile=\fIfile\fR"
Write output to \fIfile\fR.  Mutually exclusive with \fB\-\-outfd\fR.
.IP "\fB\-\-outfd=\fIfd\fR"
Write output to file descriptor \fIfd\fR.  This option must be used
with \fB\-\-output=tar\fR.
.IP "\fB\-\-unlimited\fR"
Do not exclude files which are too large. Also skip checking free disk space.
By default up to 90 percent of the free disk space can be used.
.IP "\fB\-\-debug\fR"
Print verbose debugging output.
.
.SH "OTHER OPTIONS"
.
.IP "\fB\-s\fR"
.IQ "\fB\-\-silent\fR"
Suppress most output to stdout.
.IP "\fB\-\-help\fR"
Print a summary of \fBovs\-bugtool\fR usage to stdout, then exit.
.
.SH EXAMPLES
.PP
Here's a collection of some commonly useful options:
.PP
\fBovs\-bugtool \-y \-s \-\-output=tar.gz \-\-outfile=/var/log/bugtool-report.tgz\fR
.
.SH BUGS
\fBovs\-bugtool\fR makes many assumptions about file locations and the
availability of system utilities.  It has been tested on Debian and
Red Hat and derived distributions.  On other distributions it is
likely to be less useful.