OpenVZ Forum


Home » General » Support » *SOLVED* Memory usage patch
*SOLVED* Memory usage patch [message #7458] Fri, 13 October 2006 17:37 Go to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Hello,
I want to know if anyone have or if exists a patch to do the following:
Replace
top - 21:32:45 up 3 days, 10:06,  0 users,  load average: 0.00, 0.00, 0.00
Tasks:  45 total,   1 running,  44 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.5% us,  0.3% sy,  0.0% ni, 98.3% id,  1.0% wa,  0.0% hi,  0.0% si
Mem:   2072036k total,  2053560k used,    18476k free,   262436k buffers
Swap:  4192956k total,    18456k used,  4174500k free,   947096k cached

with
top - 21:32:45 up 3 days, 10:06,  0 users,  load average: 0.00, 0.00, 0.00
Tasks:  45 total,   1 running,  44 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.5% us,  0.3% sy,  0.0% ni, 98.3% id,  1.0% wa,  0.0% hi,  0.0% si
Mem:   524288k total,  217088k used,    307200k free,   82436k buffers
Swap:  524288k total,    0k used,  524288k free,   47096k cached


It will only show max memory (burstable memory and corrently used memory), it will be great since control panels such as directadmin and cpanel will show total server memory which will not allow most users to check their memory usage.

Thanks in advance,
Sílvio


http://static.openvz.org/userbars/openvz-user.png

[Updated on: Wed, 18 October 2006 08:38] by Moderator

Report message to a moderator

Re: Memory usage patch [message #7461 is a reply to message #7458] Fri, 13 October 2006 18:07 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
So you want, that users could see value of all volume memory?
I just realy don't understand why, but ok.

What version of kernel you use?


Update: I thought that (on the contrary) it will be great, if users could see only their memory values on the top.

[Updated on: Fri, 13 October 2006 18:14]

Report message to a moderator

Re: Memory usage patch [message #7536 is a reply to message #7458] Tue, 17 October 2006 10:30 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

# vzctl set --meminfo?


http://static.openvz.org/userbars/openvz-developer.png
Re: Memory usage patch [message #7575 is a reply to message #7536] Tue, 17 October 2006 16:50 Go to previous message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Exactly what i'm looking for. Thank you Smile

http://static.openvz.org/userbars/openvz-user.png
Previous Topic: *CLOSED* Can OpenVZ work w/o OOM killer?
Next Topic: eth1 on VPS
Goto Forum:
  


Current Time: Sat Nov 02 10:35:39 GMT 2024

Total time taken to generate the page: 0.03194 seconds