---
title: "View cloud server resource metrics"
sidebar_label: "View resource metrics"
sidebar_position: 11
description: "How to view cloud server load"
---

import {CustomTable} from '@selectel/docux/components'
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import Formbricks from '@theme/MDXComponents/Formbricks'

# View cloud server resource metrics

You can [view cloud server resource metrics](#view-server-metrics) as graphs in the control panel.

Metric collection does not depend on the OS state. Metrics are collected even if the cloud server is booting, is under high load, or is unresponsive over the network. Metrics are only not collected when the cloud server is [powered off](/cloud-servers/manage/manage-server.mdx#turn-off-server).

Values for all metrics are collected every minute. If you have just created a server, the first values for network interface and volume metrics will appear in a few minutes.

## View resource usage metrics \{#view-server-metrics}

1. In the [Control panel](https://my.selectel.ru/vpc/default/images/), on the top menu, click **Products** and select **Cloud Servers**.

2. Open the server page → **Metrics** tab.

3. Optional: filter the metrics:

   3.1. Select a preset range or specify a period for which you need the metrics.

   3.2. Select **UTC time** or **Local time** for the displayed metric time.

4. View the charts for the available [cloud server metrics](#server-metrics).

5. If any metrics are not being collected on a cloud server, [add the Virtio kernel modules to autoload](#add-virtio-drivers).

### Cloud server metrics in the control panel \{#server-metrics}

<CustomTable>
  <table data-sticky>
    <tbody>
      <tr>
        <th>CPU</th>

        <td>
          <ul>
            <li>vCPU load percentage of the cloud server;</li><li>load percentage of each vCPU of the cloud server</li>
          </ul>
        </td>
      </tr>

      <tr>
        <th>Memory</th>

        <td>
          <ul>
            <li>used RAM excluding operating system cache and buffers in bytes;</li><li>RAM usage percentage excluding operating system cache and buffers</li>
          </ul>
        </td>
      </tr>

      <tr>
        <th>Volume</th>

        <td>
          <ul>
            <li>number of read and write operations in IOPS;</li><li>number of bytes per second read from or written to the disk</li>
          </ul>
        </td>
      </tr>

      <tr>
        <th>Network</th>

        <td>
          <ul>
            <li>incoming and outgoing traffic in bits per second;</li><li>incoming and outgoing traffic speed in packets per second</li>
          </ul>
        </td>
      </tr>
    </tbody>
  </table>
</CustomTable>

## Add VirtIO kernel modules to autostart \{#add-virtio-drivers}

To collect metrics, VirtIO drivers must be installed on the cloud server. In modern Linux distributions, VirtIO drivers are installed by default.

If some cloud server load metrics are not being collected, add the VirtIO kernel modules to autostart.

<Tabs queryString="add-virtio-drivers">
  <TabItem value="debian" default>
    <TabItemLabel>
      Debian-based OS
    </TabItemLabel>

    1. [Connect to the server](/cloud-servers/manage/connect-to-server.mdx).

    2. Open the `/etc/modules` file in the `nano`:

       ```bash
       nano /etc/modules
       ```

    3. Add the modules:

       ```bash
       virtio_blk
       virtio_scsi
       virtio_balloon
       virtio_net
       ```

    4. [Perform a soft reboot of the server](/cloud-servers/manage/reboot-server.mdx#perform-soft-reboot). The modules will start automatically.
  </TabItem>

  <TabItem value="redhat">
    <TabItemLabel>
      RedHat-based OS
    </TabItemLabel>

    1. [Connect to the server](/cloud-servers/manage/connect-to-server.mdx).

    2. Open the `/etc/rc.modules` file in the `nano`:

       ```bash
       nano /etc/rc.modules
       ```

    3. Add the modules:

       ```bash
       modprobe virtio
       modprobe virtio_net
       modprobe virtio_balloon
       modprobe virtio_scsi
       modprobe virtio_blk
       ```

    4. [Perform a soft reboot of the server](/cloud-servers/manage/reboot-server.mdx#perform-soft-reboot). The modules will start automatically.
  </TabItem>
</Tabs>

<Formbricks />
