[sos-devel] [PATCH] [virsh]: Collect more info from host
Han Han
hhan at redhat.com
Tue Nov 22 10:32:06 UTC 2022
Implement sub-command to collect the info from host, including the free
memory of all numa nodes(freecell --all), the storage pool
capabilities(pool-capabilities), the number of CPUs and the online
CPUs(nodecpumap), the max number of vcpus supported by kvm(maxvcpus
kvm), and the hypervisor sysinfo(sysinfo)
Signed-off-by: Han Han <hhan at redhat.com>
---
sos/report/plugins/virsh.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sos/report/plugins/virsh.py b/sos/report/plugins/virsh.py
index 2ce1df15..b3a30819 100644
--- a/sos/report/plugins/virsh.py
+++ b/sos/report/plugins/virsh.py
@@ -33,9 +33,13 @@ class LibvirtClient(Plugin, IndependentPlugin):
'domcapabilities',
'capabilities',
'nodeinfo',
- 'freecell',
+ 'freecell --all',
'node-memory-tune',
- 'version'
+ 'version',
+ 'pool-capabilities',
+ 'nodecpumap',
+ 'maxvcpus kvm',
+ 'sysinfo',
]
for subcmd in subcmds:
--
2.38.1
More information about the sos-devel
mailing list