Ticket #9872 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

get VM memory usage

Reported by: sbrickey Owned by:
Priority: major Component: webservices
Version: VirtualBox 4.1.6 Keywords: GetHostInfo
Cc: Guest type: other
Host type: Solaris


currently, it is my understanding that vboxsrv (which is used by phpVirtualBox) does not provide a mechanism to report the memory usage of VM's (including page fusion, ballooning, etc).

I would like to be able to obtain information about the memory usage of each VM, and of the host (eliminating duplicates due to page fusion).

Currently, phpVirtualBox is only able to get the amount of host memory used / free... no distinction between system memory and VM memory usage... if it's already available, just indicate how to obtain the info (which I will relay)... if not, please provide it.

Change History

comment:1 Changed 7 years ago by frank

You are aware of the guest/host metrics (VBoxManage metrics), right?

comment:2 Changed 7 years ago by sbrickey

I was not... assuming this info is accessible using vboxsrv as well, then my request has been fulfilled :)

comment:3 Changed 7 years ago by frank

Yes, just have a look at the implementation of the VBoxManage application. vboxsrv should be able to do the same.

comment:4 Changed 7 years ago by sbrickey

found the IPerformanceCollecter API... all is good... thanks :)

comment:5 Changed 7 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Great :)

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use