From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Voronich Subject: Memory statistic question Date: Thu, 03 Jul 2014 16:29:57 +0300 Message-ID: <53B55AD5.7030301@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail-lb0-f177.google.com ([209.85.217.177]:43168 "EHLO mail-lb0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753914AbaGCNaD (ORCPT ); Thu, 3 Jul 2014 09:30:03 -0400 Received: by mail-lb0-f177.google.com with SMTP id u10so162035lbd.36 for ; Thu, 03 Jul 2014 06:30:01 -0700 (PDT) Received: from MacBook-Pro-mzfk.local (vpn1.ihc-ru.net. [46.254.22.75]) by mx.google.com with ESMTPSA id px1sm35997681lbb.46.2014.07.03.06.29.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Jul 2014 06:30:00 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: Hello, I'm trying to get memory usage statistic inside a guest machine using virDomainMemoryStats function at libvirt. According to http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the structure could have a lot of useful memory statistic but the amount of parameters depends on the hypervisor and the driver. However using KVM I'm able to get VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON and VIR_DOMAIN_MEMORY_STAT_RSS. Am I right it is not possible to get additional info such as used/unused memory inside a guest machine in case of KVM?