OpenVZ Forum


Home » General » Discussions » /proc/meminfo inside VE
/proc/meminfo inside VE [message #31156] Thu, 19 June 2008 17:02 Go to previous message
Zirafarafa is currently offline  Zirafarafa
Messages: 13
Registered: April 2008
Junior Member
Hi all

I have two identically configured servers, running 2.6.18-53.1.19.el5.028stab053.14

They each have 2 Gb RAM, and 2 Gb swap.

cat /proc/meminfo | grep Total
MemTotal:      2073252 kB
HighTotal:     1179440 kB
LowTotal:       893812 kB
SwapTotal:     2096472 kB
VmallocTotal:   110584 kB
HugePages_Total:     0


This output is the same on both servers

However, each is running a VE (with identical configs except for the ip and hostname)

Inside VE 102 (on host 1), I get a different /proc/meminfo to VE 103 (on host 2):

On Host 1:
vzctl exec 102 "cat /proc/meminfo | grep Total"
MemTotal:      1600000 kB
HighTotal:           0 kB
LowTotal:      1600000 kB
SwapTotal:           0 kB
VmallocTotal:        0 kB
HugePages_Total:     0


On Host 2:
vzctl exec 103 "cat /proc/meminfo | grep Total"
MemTotal:      2073252 kB
HighTotal:           0 kB
LowTotal:      2073252 kB
SwapTotal:           0 kB
VmallocTotal:        0 kB
HugePages_Total:     0


Can anyone explain the difference in this output?
 
Read Message
Read Message
Read Message
Previous Topic: Template metadata for fedora-8
Next Topic: Open VZ + VirtualBox together???
Goto Forum:
  


Current Time: Sat Nov 09 15:24:23 GMT 2024

Total time taken to generate the page: 0.03134 seconds