<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi, everyone,</div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(202,="" 234,="" 206);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">    My hypervisor is kvm, when I use libvirt-java api to get guest vm memory information, I found what libvirt can not get real memory(within the vm)statistic, libvirt can only get information from .xml file</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">(such as vmName.xml</span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"> <currentMemory> lable) in host.</span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">   My question is, does libvirt support memory monitor(within vm)? if it's true, how to get. if false, what is the difficulty?</span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">Thank you.</span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>frankpersist@gmail.com</div></div></span></div>
</body></html>