Re: Question about memory usage in openVZ container [message #35533 is a reply to message #35528] |
Thu, 02 April 2009 09:02 |
maratrus
Messages: 1495 Registered: August 2007 Location: Moscow
|
Senior Member |
|
|
Hello,
"free" command output is based on /proc/meminfo output.
OpenVZ implements calculations inside VE with help of privvmapages values. So, by default the total memory output is the barrier value of privvmpages of the particular VE (expressed in bytes).
You can adjust this output a little with "--meminfo" option of vzctl utility (man vzctl).
You can't consider the obtained number as a reliable source data to analyse situation. The correct way is /proc/user_beancounters output. Thus, such behavior of OpenVZ system is convenient one from user space point of view.
|
|
|