diff options
author | Ben Pfaff <blp@nicira.com> | 2012-06-14 17:09:30 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-06-15 09:36:20 -0700 |
commit | d0c060994ae6c03ce18ee4f7be32795e85e892c2 (patch) | |
tree | 706376ec856f7081b92ac09753b40145f0fe1b1f /utilities/ovs-ctl.8 | |
parent | 7bb8f953527f8150dd5c2e50353a50ecd15e4427 (diff) |
ovs-ctl: Add support for running daemons under valgrind or strace.
This is occasionally useful for debugging.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'utilities/ovs-ctl.8')
-rw-r--r-- | utilities/ovs-ctl.8 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/utilities/ovs-ctl.8 b/utilities/ovs-ctl.8 index 6a1315f8..1a9ee2a5 100644 --- a/utilities/ovs-ctl.8 +++ b/utilities/ovs-ctl.8 @@ -183,6 +183,31 @@ suppresses that behavior. Sets the \fBnice\fR(1) level used for each daemon. All of them default to \fB\-10\fR. . +.IP "\fB\-\-ovsdb\-server\-wrapper=\fIwrapper\fR" +.IQ "\fB\-\-ovs\-vswitchd\-wrapper=\fIwrapper\fR" +.IQ "\fB\-\-ovs\-brcompatd\-wrapper=\fIwrapper\fR" +. +Configures the specified daemon to run under \fIwrapper\fR, which is +one of the following: +. +.RS +.IP "\fBvalgrind\fR" +Run the daemon under \fBvalgrind\fR(1), if it is installed, logging to +\fIdaemon\fB.valgrind.log.\fIpid\fR in the log directory. +. +.IP "\fBstrace\fR" +Run the daemon under \fBstrace\fR(1), if it is installed, logging to +\fIdaemon\fB.strace.log.\fIpid\fR in the log directory. +.RE +. +.IP +By default, no wrapper is used. +. +.IP +Wrappers greatly slow daemon operations so they should not be used in +production. They also produce voluminous logs that can quickly fill +small disk partitions. +. .PP The following options control file locations. They should only be used if the default locations cannot be used. See \fBFILES\fR, below, |