OpenVZ Forum


Home » Mailing lists » Users » fake swap != 0 in VE?
Re: fake swap != 0 in VE? [message #27232 is a reply to message #27213] Tue, 12 February 2008 12:13 Go to previous messageGo to previous message
Carl-Daniel Hailfinge is currently offline  Carl-Daniel Hailfinge
Messages: 15
Registered: February 2007
Junior Member
On 12.02.2008 09:46, Kirill Korotaev wrote:
> the only way I'm aware of is /proc/meminfo
> just patch kernel to print something non-zero there always and your application most likely will become happy.
>   

Why not
mount --bind fakememinfo /proc/meminfo
inside the VE? Would be easiest, but the contents will not match real
meminfo because they do not get updated.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: openvz in domu (xen)
Next Topic: Network configuration
Goto Forum:
  


Current Time: Fri Oct 18 15:21:05 GMT 2024

Total time taken to generate the page: 0.04889 seconds