<div dir="ltr"><div><div>Hi,<br><br><a href="http://www.libvirt.org/html/libvirt-libvirt.html#virNodeInfo">http://www.libvirt.org/html/libvirt-libvirt.html#virNodeInfo</a> says that memory size is in kilobytes, however when I use this call I get an answer in Megabytes, see below. The hypervisor has 16 GB of RAM.<br>
<br>$ python<br>Python 2.6.6 (r266:84292, Jul 10 2013, 22:48:45)<br>[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>
<br>>>> import libvirt<br><br>>>> conn=libvirt.open("qemu+ssh://<a href="http://xx@xx.xxx.com/system">xx@xx.xxx.com/system</a>")<br>Enter passphrase for key '/home/xx/.ssh/id_rsa':<br><br>
>>> hv_info=conn.getInfo()<br><br>>>> hv_info<br>['x86_64', 15919, 8, 3292, 1, 1, 4, 2]<br><br></div>15,919 is the number I am referencing, should that not be in bytes and not MB?<br></div>8 is the number of cores, CPU is 3.2Ghz.<br>
<br><div>$ rpm -q libvirt<br>libvirt-0.10.2-18.el6_4.14.x86_64<br><br>$ uname -a<br>Linux <a href="http://xx.xxx.com">xx.xxx.com</a> 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>Thanks<br></div></div>