Hi Everyone, 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? Many Thanks
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.
The is stated from a position of relative ignorancve, but don''t the pv drivers provide this to dom0 ? Things like xencenter rely on this information - so don''t you need to just track down where the interface / query tool is? ----- Original Message ----- From: Tom Fritz [mailto:tfritz@novia.net] Sent: Sunday, November 17, 2013 03:27 PM To: xen-users@lists.xen.org <xen-users@lists.xen.org> Subject: Re: [Xen-users] View DomU RAM Usage and Disk Usage from Dom0 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@lists.xen.org http://lists.xen.org/xen-users
On Sun, Nov 17, 2013 at 08:21:21PM +0000, Jonathan Tripathy wrote:> Hi Everyone, > > 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? >Checkout xentop, it might be useful. Wei.> Many Thanks > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users