OpenVZ Forum


Home » Mailing lists » Users » fake swap != 0 in VE?
Re: fake swap != 0 in VE? [message #27213 is a reply to message #27210] Tue, 12 February 2008 08:46 Go to previous messageGo to previous message
Kirill Korotaev is currently offline  Kirill Korotaev
Messages: 137
Registered: January 2006
Senior Member
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.

Thomas Sattler wrote:
>> [...] while you can set up a VE such that issuing 'free'
>> will show both RAM and swap- it will be that of the HN.
> 
> That might be all that I need. I can't tell how
> the application checks for swap. Could someone
> give me a hint how an application (like 'free')
> can see any swap?
> 
> I'm quite sure that I do not *need* the swap as
> there is plenty of RAM. But the application com-
> plains if there is no swap to be seen.
> 
> Thomas
>
 
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: Thu Jun 19 03:46:37 GMT 2025

Total time taken to generate the page: 0.03244 seconds