OpenVZ Forum


Home » General » Support » How to get memory usage of a specific VPS
How to get memory usage of a specific VPS [message #1729] Tue, 21 February 2006 16:04 Go to next message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
Hello!

Is there a way to get the memory usage of a specific VPS? For the VPS Owner/Admin?

As Serveradmin you have vzmemcheck. But as VPS Admin free or top or something like that - even /proc/meminfo report only the size for the full server...

Stefan

[Updated on: Tue, 21 February 2006 16:13]

Report message to a moderator

Re: How to get memory usage of a specific VPS [message #1731 is a reply to message #1729] Tue, 21 February 2006 17:12 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

you have access to /proc/user_beancounters inside VPS, which can be checked to see how much resources were consumed.


http://static.openvz.org/userbars/openvz-developer.png
Re: How to get memory usage of a specific VPS [message #1737 is a reply to message #1729] Tue, 21 February 2006 19:13 Go to previous messageGo to next message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
Oh i forgot - thanks.

Is it planned to modify /proc/memstat in VPS environment to match the "real" values - showed in /proc/user_beancounter or vzmemchk ?

Stefan
Re: How to get memory usage of a specific VPS [message #1746 is a reply to message #1737] Wed, 22 February 2006 08:18 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

You mean /proc/meminfo?
yeah, it will be virtualized. Not a problem.


http://static.openvz.org/userbars/openvz-developer.png
Re: How to get memory usage of a specific VPS [message #1747 is a reply to message #1729] Wed, 22 February 2006 08:21 Go to previous messageGo to next message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
Oh that will be fine Smile so top and free and so on shows correct values for the VPS User.
Re: How to get memory usage of a specific VPS [message #1919 is a reply to message #1746] Tue, 07 March 2006 03:08 Go to previous message
phpfreak is currently offline  phpfreak
Messages: 47
Registered: January 2006
Member
ohhh that would be so nice Smile please do let us know when Smile

Previous Topic: network not working
Next Topic: Slackware VPS problem
Goto Forum:
  


Current Time: Sat Jul 13 15:55:17 GMT 2024

Total time taken to generate the page: 0.02259 seconds