[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] View DomU RAM Usage and Disk Usage from Dom0


  • To: xen-users@xxxxxxxxxxxxx
  • From: Tom Fritz <tfritz@xxxxxxxxx>
  • Date: Sun, 17 Nov 2013 17:27:06 -0600 (CST)
  • Delivery-date: Sun, 17 Nov 2013 23:28:52 +0000
  • Dkim-filter: OpenDKIM Filter v2.8.2 oasis.novia.net rAHNR6ae034190
  • Domainkey-signature: a=rsa-sha1; s=mail; d=novia.net; c=nofws; q=dns; h=received:x-authentication-warning:date:from:to:subject: in-reply-to:message-id:references:user-agent:organization:mime-version:content-type; b=VxmVXjWpkdXnZTT7HxfwnMR3jMSYatpX/6uSQZmoDK9UK60UqQv73k2mf6raAvnHz wWbmAvRa9b5csQNxiWGLdsp/JpAZtelqbgojIFQJGxzt28CXG7NLhpBwa1WqANAK+Wh QiRemjbFsfd5wbGdJcrkyA/bdBuhsAkRqhfIokk=
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Jonathan,

It would be appreciated if someone could give me some tips on how to view DomU RAM and disk usage from a Dom0. I'm trying to make a simple piece of software that will allow me to see these stats. At present, the only thing I can think of is running a script that SSH's into each DomU and parses the output of "free -m" and "df -h"

Is there a way to see these stats from Dom0?


I have used xenstore-write and xenstore-read to do something like this. You would need to run a cron job on the domU to update the file(s). This could be security issue if you have un-trusted users connecting to the domU.

Cheers,

Tom.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.