[ovs-dev] [PATCH] memory: Document the memory/show unixctl command.

Gurucharan Shetty gshetty at nicira.com
Fri Jul 13 19:29:27 UTC 2012


Looks good to me.

On Fri, Jul 13, 2012 at 10:25 AM, Ben Pfaff <blp at nicira.com> wrote:

> Suggested-by: Justin Pettit <jpettit at nicira.com>
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
>  lib/automake.mk            |    1 +
>  lib/memory-unixctl.man     |    7 +++++++
>  manpages.mk                |    4 ++++
>  ovsdb/ovsdb-server.1.in    |    1 +
>  vswitchd/ovs-vswitchd.8.in |    1 +
>  5 files changed, 14 insertions(+), 0 deletions(-)
>  create mode 100644 lib/memory-unixctl.man
>
> diff --git a/lib/automake.mk b/lib/automake.mk
> index de4ec03..9bc6268 100644
> --- a/lib/automake.mk
> +++ b/lib/automake.mk
> @@ -272,6 +272,7 @@ MAN_FRAGMENTS += \
>         lib/daemon.man \
>         lib/daemon-syn.man \
>         lib/leak-checker.man \
> +       lib/memory-unixctl.man \
>         lib/ovs.tmac \
>         lib/ssl-bootstrap.man \
>         lib/ssl-bootstrap-syn.man \
> diff --git a/lib/memory-unixctl.man b/lib/memory-unixctl.man
> new file mode 100644
> index 0000000..5b70297
> --- /dev/null
> +++ b/lib/memory-unixctl.man
> @@ -0,0 +1,7 @@
> +.SS "MEMORY COMMANDS"
> +These commands report memory usage.
> +.
> +.IP "\fBmemory/show\fR"
> +Displays some basic statistics about \fB\*(PN\fR's memory usage.
> +\fB\*(PN\fR also logs this information soon after startup and
> +periodically as its memory consumption grows.
> diff --git a/manpages.mk b/manpages.mk
> index f391fdf..01700c3 100644
> --- a/manpages.mk
> +++ b/manpages.mk
> @@ -37,6 +37,7 @@ ovsdb/ovsdb-server.1: \
>         lib/coverage-unixctl.man \
>         lib/daemon-syn.man \
>         lib/daemon.man \
> +       lib/memory-unixctl.man \
>         lib/ssl-bootstrap-syn.man \
>         lib/ssl-bootstrap.man \
>         lib/ssl-syn.man \
> @@ -55,6 +56,7 @@ lib/common.man:
>  lib/coverage-unixctl.man:
>  lib/daemon-syn.man:
>  lib/daemon.man:
> +lib/memory-unixctl.man:
>  lib/ssl-bootstrap-syn.man:
>  lib/ssl-bootstrap.man:
>  lib/ssl-syn.man:
> @@ -233,6 +235,7 @@ vswitchd/ovs-vswitchd.8: \
>         lib/common.man \
>         lib/daemon.man \
>         lib/leak-checker.man \
> +       lib/memory-unixctl.man \
>         lib/ssl-bootstrap.man \
>         lib/ssl.man \
>         lib/stress-unixctl.man \
> @@ -245,6 +248,7 @@ vswitchd/ovs-vswitchd.8.in:
>  lib/common.man:
>  lib/daemon.man:
>  lib/leak-checker.man:
> +lib/memory-unixctl.man:
>  lib/ssl-bootstrap.man:
>  lib/ssl.man:
>  lib/stress-unixctl.man:
> diff --git a/ovsdb/ovsdb-server.1.in b/ovsdb/ovsdb-server.1.in
> index dfe9208..4236f8f 100644
> --- a/ovsdb/ovsdb-server.1.in
> +++ b/ovsdb/ovsdb-server.1.in
> @@ -123,6 +123,7 @@ This command might be useful for debugging issues with
> database
>  clients.
>  .
>  .so lib/vlog-unixctl.man
> +.so lib/memory-unixctl.man
>  .so lib/coverage-unixctl.man
>  .so lib/stress-unixctl.man
>  .SH "SEE ALSO"
> diff --git a/vswitchd/ovs-vswitchd.8.in b/vswitchd/ovs-vswitchd.8.in
> index bfd70fb..5a959dd 100644
> --- a/vswitchd/ovs-vswitchd.8.in
> +++ b/vswitchd/ovs-vswitchd.8.in
> @@ -206,6 +206,7 @@ enabled.
>  .
>  .so ofproto/ofproto-unixctl.man
>  .so lib/vlog-unixctl.man
> +.so lib/memory-unixctl.man
>  .so lib/stress-unixctl.man
>  .
>  .SH "LIMITS"
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20120713/b9b4b26c/attachment-0003.html>


More information about the dev mailing list