Is there a way to see if several Virtual Machines are running on the same host? Specifically, I have three VMWare VMs (each running a Ubuntu Server 14.04) and I have tried to compare different pieces of information:

  • dmidecode -s system-serial-number gives different results for each VM
  • lspci returns the same output for each VM
  • cat /proc/cpuinfo returns similar values for two of them and one has a completely different output (notably the "model name" line is different)

This doesn't help me to find determine which ones are running on the same host (if any).

Are there any other way to check?


  • 3
    In what professional setting do you need to figure this out? Does it matter where the VM's run, as long as they're up? Can't you ask the people administrating the virtualization hosts? – pauska Apr 21 '15 at 9:44
  • 3
    @pauska actually I can imagine a few scenarios. For example for making sure all your DB replicas are not running on the same physical host, when the virtualization provider is untrusted third party ... (and yes, this s***ty politics happens in large 'professional' corporations as well) – Fox Apr 21 '15 at 10:03
  • @pauska I am not managing the hosts and have been encountering some disk performance issues on some VMs. I'd like to confirm that it's only affecting a particular host before I contact anybody. – ixM Apr 21 '15 at 10:25
  • 1
    So you haven't contacted support to report your problem because you want to identify the problematic host first? That makes no sense to me. Why would it matter to you from a support perspective? If I have a problem with a service, I don't generally try to isolate the cause of the problem for the service provider before I call for support. That's their job. I call them and report the problem and let them do the work of finding it and resolving it. – joeqwerty Apr 21 '15 at 14:55
  • 1
    "in what professional setting do you need to figure this out?" I have a build server that's one the physical box as my lower test environment vms (SIT)... For full builds (~1.2 Gb tar.gz) i can either transfer files over the network (~5-10 minutes) to deployment server or copy locally (<1min) and execute deploy, shaving about 10min off total run time on avg... – rekciltnuc Apr 12 '17 at 19:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.