diff options
author | Andres Lagar-Cavilla <andres@lagarcavilla.org> | 2012-01-26 12:46:26 +0000 |
---|---|---|
committer | Andres Lagar-Cavilla <andres@lagarcavilla.org> | 2012-01-26 12:46:26 +0000 |
commit | 8a93efd7f06b7ce89b295d6ab4565bd964b71c51 (patch) | |
tree | 8d0adaa22da68871e2225fccd3b54e8e143efb90 /tools/libxl/xl_cmdtable.c | |
parent | b3690b8c5809d093b20b04e5f016471509dd9191 (diff) | |
download | xen-8a93efd7f06b7ce89b295d6ab4565bd964b71c51.tar.gz xen-8a93efd7f06b7ce89b295d6ab4565bd964b71c51.tar.bz2 xen-8a93efd7f06b7ce89b295d6ab4565bd964b71c51.zip |
Tools: Add a sharing command to xl for information about shared pages
Also add the global sharing statistics to the libxl physinfo. This is a slight
departure from libxc, but there's no reason libxl physinfo can't include extra
bits of useful and relevant information.
Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Signed-off-by: Adin Scannell <adin@scannell.ca>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r-- | tools/libxl/xl_cmdtable.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c index 3f7008b02b..018d1dde42 100644 --- a/tools/libxl/xl_cmdtable.c +++ b/tools/libxl/xl_cmdtable.c @@ -189,6 +189,11 @@ struct cmd_spec cmd_table[] = { "Get information about Xen host", "-n, --numa List host NUMA topology information", }, + { "sharing", + &main_sharing, 0, + "Get information about page sharing", + "[Domain]", + }, { "sched-credit", &main_sched_credit, 0, "Get/set credit scheduler parameters", |