Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 03-03-2012, 12:21 AM   #1
LQ Newbie
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Question Guest to Host message passing - guest's memory usage statistics & guest's IP address

Hi all,
I am new to KVM. I am using KVM for my M Tech final year project. In my project I need to know VM's IP address and memory usage from host OS itself (without SSHing into the VMs).
For VM's IP address fetching, I used "nmap -an"'s output. But, nmap -an output doesn't work every time. It doesn't show VM in its result in some occasion (even if vm is running).
So please help me out with the same. Is there any mechanism with which we can obtain memory usage per vm and vm's ip address from the host os itself.
Also, is there any procedure with which we can communicate some information from guest to host os? If exist, how to do so?
Thanks in advance

Old 03-03-2012, 02:12 AM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
If you're planning to write some code yourself then try this api:
Old 03-03-2012, 03:06 AM   #3
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
You need to run an agent int the guest OS, that would be passing the required information to the host OS. there are different projects for this, as well as ready agents that come with RHEV.

This is one example:
This is another:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Host Fedora14, Windows 7 is running as Virtualbox guest- Mic is not working on Guest mwaheed Linux - Virtualization and Cloud 1 10-20-2011 12:51 PM
Convert guest logical address to host physical address hmd429 Linux - Virtualization and Cloud 1 10-07-2011 03:44 AM
Convert guest logical address to host physical address hmd429 Linux - Kernel 0 10-07-2011 02:35 AM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 08:22 AM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration