From: "Alex Bennée" <alex.bennee@linaro.org>
To: Sunil Agham <sunil.agham@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Watching Resource consumption of guest from Qemu ?
Date: Fri, 18 Oct 2013 14:32:20 +0100 [thread overview]
Message-ID: <p1r4bin1qz.fsf@linaro.org> (raw)
In-Reply-To: <CALSEb2fxw8+MwOwNv5yrcoEdN0RQr+amG=qe9GSpF6Tn6=+YxA@mail.gmail.com>
sunil.agham@gmail.com writes:
> Hello List,
>
> I am a graduate student trying to learn about virtualization. I wanted
> to understand if there is any way to tell about resource consumption
> of guest through Qemu ? e.g. if guest starts doing something cpu
> intensive, would qemu be aware of that ? or is there a way to detect
> that from qemu ?
I assume your talking about a KVM quest rather than a system emulated
guest within QEMU? KVM guests will appear as normal user-space tasks to
the host OS so your normal top/htop/iotop tools will show activity
associated with that guest.
I don't think qemu directly monitors CPU utilisation but I could be
wrong. Other information is available though - see
docs/virtio-ballon-stats.txt for example.
Things that trap to QEMU (i.e. hardware access, virtio) however can
certainly be tracked. The the guest is in a pure CPU loop then qemu
won't know about it until the next event it has to deal with.
--
Alex Bennée
next prev parent reply other threads:[~2013-10-18 13:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-17 14:33 [Qemu-devel] Watching Resource consumption of guest from Qemu ? Sunil Agham
2013-10-18 13:32 ` Alex Bennée [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-10-17 14:25 Sunil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p1r4bin1qz.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=sunil.agham@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.