[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [TOOLS][XENTOP] Update usage and manpage to include vbd options.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 410df40afc014555ce7bfcad2852de9e6d0425f0
# Parent  a661566745ae1436a2aa06e947fac2413c4d07a3
[TOOLS][XENTOP] Update usage and manpage to include vbd options.

Also a couple of whitespace fixes.

Signed-off-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
---
 tools/xenstat/xentop/xentop.1 |    3 +++
 tools/xenstat/xentop/xentop.c |    6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff -r a661566745ae -r 410df40afc01 tools/xenstat/xentop/xentop.1
--- a/tools/xenstat/xentop/xentop.1     Tue Oct 24 16:46:02 2006 +0100
+++ b/tools/xenstat/xentop/xentop.1     Wed Oct 25 10:25:18 2006 +0100
@@ -47,6 +47,9 @@ seconds between updates (default 3)
 \fB\-n\fR, \fB\-\-networks\fR
 output network information
 .TP
+\fB\-x\fR, \fB\-\-vbds\fR
+output vbd block device data
+.TP
 \fB\-r\fR, \fB\-\-repeat\-header\fR
 repeat table header before each domain
 .TP
diff -r a661566745ae -r 410df40afc01 tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Tue Oct 24 16:46:02 2006 +0100
+++ b/tools/xenstat/xentop/xentop.c     Wed Oct 25 10:25:18 2006 +0100
@@ -204,7 +204,7 @@ static void usage(const char *program)
               "-V, --version        output version information and exit\n"
               "-d, --delay=SECONDS  seconds between updates (default 3)\n"
               "-n, --networks       output vif network data\n"
-              "-b, --vbds           output vbd block device data\n"
+              "-x, --vbds           output vbd block device data\n"
               "-r, --repeat-header  repeat table header before each domain\n"
               "-v, --vcpus          output vcpu data\n"
               "-b, --batch          output in batch mode, no user input 
accepted\n"
@@ -976,7 +976,7 @@ int main(int argc, char **argv)
                { "help",          no_argument,       NULL, 'h' },
                { "version",       no_argument,       NULL, 'V' },
                { "networks",      no_argument,       NULL, 'n' },
-               { "vbds",          no_argument,       NULL, 'x' },
+               { "vbds",          no_argument,       NULL, 'x' },
                { "repeat-header", no_argument,       NULL, 'r' },
                { "vcpus",         no_argument,       NULL, 'v' },
                { "delay",         required_argument, NULL, 'd' },
@@ -1065,7 +1065,7 @@ int main(int argc, char **argv)
                                        break;
                        } while (1);
        }
-       
+
        /* Cleanup occurs in cleanup(), so no work to do here. */
 
        return 0;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.