is it possible to check CPU and RAM usage of the OpenVZ *host* machine from within a VM?

5,779

Your vm is effectively sandboxed. without something on the host specifically giving you the info, you wont be able to get it.

edit: Also, try linnode. They've been great for me, one of the few internet companies I dont have a single complaint about :-)

Share:
5,779

Related videos on Youtube

Erin Drummond
Author by

Erin Drummond

Updated on September 18, 2022

Comments

  • Erin Drummond
    Erin Drummond over 1 year

    I have purchased an OpenVZ VPS from one of the hundreds of internet hosting companies. I dont pay much for it, but lately performance has been terrible.

    They are obviously overselling, but I am trying to determine by how much. Is it possible to, from within an OpenVZ VPS, check CPU usage/memory usage of the host machine?

    Commands like 'top' only seem to show the usage for my specific VPS, but 'cat /proc/cpuinfo' shows the cpuinfo for the underlying host CPU

    Thanks

    • Aleksandr Levchuk
      Aleksandr Levchuk almost 13 years
      +1 for using OpenVZ. Unfortunately cheap hosting do not operate properly: allocate too few resources for too many users.
  • Erin Drummond
    Erin Drummond almost 13 years
    Thanks for clearing that up! Also, I will take a look at linnode
  • Erin Drummond
    Erin Drummond over 11 years
    This wont solve the problem in my question - shared hosting is different from virtualised hosting.