2.3. Monitoring Performance in Virtual Machine Manager

You can use the Virtual Machine Monitor to view performance information for any virtual machine on your system. You can also configure the performance information displayed in Virtual Machine Manager.

2.3.1. Viewing a Performance Overview in Virtual Machine Manager

To view a performance overview for a virtual machine using Virtual Machine Manager:
  1. In the Virtual Machine Manager main window, highlight the virtual machine that you want to view.
    Selecting a virtual machine to display

    Figure 2.1. Selecting a virtual machine to display

  2. From the Virtual Machine Manager Edit menu, select Virtual Machine Details.
    When the Virtual Machine details window opens, there may be a console displayed. Should this happen, click View and then select Details. The Overview window opens first by default.
  3. Select Performance from the navigation pane on the left hand side.
    The Performance view shows a summary of guest performance, including CPU and Memory usage and Disk and Network input and output.
    Displaying guest performance details

    Figure 2.2. Displaying guest performance details

2.3.2. Performance Monitoring

Performance monitoring preferences can be modified with virt-manager's preferences window.
To configure performance monitoring:
  1. From the Edit menu, select Preferences.
    The Preferences window appears.
  2. From the Polling tab specify the time in seconds or stats polling options.
    Configuring performance monitoring

    Figure 2.3. Configuring performance monitoring

2.3.3. Displaying CPU Usage for Guests

To view the CPU usage for all guests on your system:
  1. From the View menu, select Graph, then the Guest CPU Usage check box.
  2. The Virtual Machine Manager shows a graph of CPU usage for all virtual machines on your system.
    Guest CPU usage graph

    Figure 2.4. Guest CPU usage graph

2.3.4. Displaying CPU Usage for Hosts

To view the CPU usage for all hosts on your system:
  1. From the View menu, select Graph, then the Host CPU Usage check box.
  2. The Virtual Machine Manager shows a graph of host CPU usage on your system.
    Host CPU usage graph

    Figure 2.5. Host CPU usage graph

2.3.5. Displaying Disk I/O

To view the disk I/O for all virtual machines on your system:
  1. Make sure that the Disk I/O statistics collection is enabled. To do this, from the Edit menu, select Preferences and click the Polling tab.
  2. Select the Disk I/O check box.
    Enabling Disk I/O

    Figure 2.6. Enabling Disk I/O

  3. To enable the Disk I/O display, from the View menu, select Graph, then the Disk I/O check box.
  4. The Virtual Machine Manager shows a graph of Disk I/O for all virtual machines on your system.
    Displaying Disk I/O

    Figure 2.7. Displaying Disk I/O

2.3.6. Displaying Network I/O

To view the network I/O for all virtual machines on your system:
  1. Make sure that the Network I/O statistics collection is enabled. To do this, from the Edit menu, select Preferences and click the Pollingtab.
  2. Select the Network I/O check box.
    Enabling Network I/O

    Figure 2.8. Enabling Network I/O

  3. To display the Network I/O statistics, from the View menu, select Graph, then the Network I/O check box.
  4. The Virtual Machine Manager shows a graph of Network I/O for all virtual machines on your system.
    Displaying Network I/O

    Figure 2.9. Displaying Network I/O

2.3.7. Displaying Memory Usage

To view the memory usage for all virtual machines on your system:
  1. Make sure that the memory usage statistics collection is enabled. To do this, from the Edit menu, select Preferences and click the Pollingtab.
  2. Select the Poll Memory stats check box.
    Enabling memory usage

    Figure 2.10. Enabling memory usage

  3. To display the memory usage, from the View menu, select Graph, then the Memory Usage check box.
  4. The Virtual Machine Manager lists the percentage of memory in use (in megabytes) for all virtual machines on your system.
    Displaying memory usage

    Figure 2.11. Displaying memory usage