[libvirt] [python PATCH] examples: small fix for nodestats.py example

Luyao Huang lhuang at redhat.com
Fri Jul 31 02:19:45 UTC 2015

Add nodestats.py in MANIFEST.in and add a
small description for nodestats.py in README

Signed-off-by: Luyao Huang <lhuang at redhat.com>
 MANIFEST.in     | 1 +
 examples/README | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/MANIFEST.in b/MANIFEST.in
index b5ba783..0d66f9c 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -13,6 +13,7 @@ include examples/esxlist.py
 include examples/event-test.py
 include examples/guest-vcpus/guest-vcpu-daemon.py
 include examples/guest-vcpus/guest-vcpu.py
+include examples/nodestats.py
 include examples/topology.py
 include generator.py
 include libvirt-lxc-override-api.xml
diff --git a/examples/README b/examples/README
index 0cb4513..13211b6 100644
--- a/examples/README
+++ b/examples/README
@@ -14,6 +14,9 @@ dhcpleases.py - list dhcp leases for a given virtual network
 domipaddrs.py - list IP addresses for guest domains
 guest-vcpus - two helpers to make the guest agent event useful with agent based
               vCPU state modification
+nodestats.py - print total memory and free memory for each host NUMA node and
+               the memory strictly bound to certain host nodes for each running
+               domain.
 The XML files in this directory are examples of the XML format that libvirt
 expects, and will have to be adapted for your setup. They are only needed

More information about the libvir-list mailing list