Previous page

Next page

Performance Statistics

Statistics about the CPU(s), memory, disk drives, processes, user session, system uptime, network packets, etc. for a host or a virtual machine are available using the Parallels C API. There are two main methods for obtaining statistics:

  1. Using PrlSrv_GetStatistics (for host statistics) or PrlVm_GetStatistics (for virtual machine statistics) to obtain a report containing the latest performance data. In addition, the virtual machine disk I/O statistics can be obtained using the PrlVm_GetPerfStats function.
  2. Using PrlSrv_SubscribeToHostStatistics (for host statistics) or PrlVm_SubscribeToGuestStatistics (for virtual machine statistics) to receive statistics on a periodic basis.

The following sections describe each method in detail.

In This Section

Obtaining Performance Statistics

Performance Monitoring