<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><h2>hiŁ¬every one <br>
I have some trouble with the virsh to get vm mem-usage in guest os.<br>
[root@localhost ~]# virsh list --all<br>
Id    Name                           State</h2>
<p>1     wwl_centos7_1708               running<br>
2     windows-virtio-template        running</p>
<p>I create two vms  one guest os is centos, the other is window 7<br>
<strong>virsh dommemstat wwl_centos7_1708</strong><br>
actual 4194304<br>
swap_in 0<br>
swap_out 0<br>
major_fault 194<br>
minor_fault 219454<br>
unused 3729588<br>
available 3881812<br>
last_update 1581406529<br>
rss 2969400<br>
so i can get the vm mem-used detail,<br>
but if my guest os is windows, though I install virtio-win driver and run blnsrv.exe -i  start the service,<br>
I fail to get not enough vm mem stat info, as following:<br>
<strong>virsh dommemstat windows-virtio-template</strong><br>
actual 8388608<br>
last_update 1584947706<br>
rss 8263664</p>
<p>can anyone tell me how can I succ to get window's vm with enough mem stat info  the same with centos ?<br>
thanks u !</p></div><br><br><span title="neteasefooter"><p> </p></span>