# Monitor a VM

> Watch a VM's CPU, memory, network and disk live every second, read its serial console, and follow every VM of your organization on the Fleet page.

- URL: https://flockvm.com/docs/vms/monitoring
- Section: Virtual machines
- Last updated: 2026-10-31

The dashboard shows what each VM does as the host measures it: live usage every second, the serial console, and the cost so far. Nothing runs inside your VM to collect it.

## The Fleet page

[flockvm.com/dashboard](https://flockvm.com/dashboard) opens on **Fleet**: every VM of your active organization, newest first.

![The Fleet page: stats on top, then the VMs list](https://flockvm.com/docs/screenshots/fleet.webp "Running count, vCPU and memory in use, burn rate, then every VM.")

The four tiles on top:

| Tile              | What it shows                                                                              |
| ----------------- | ------------------------------------------------------------------------------------------ |
| **Running**       | VMs running now, out of all your VMs, and how many are changing state                      |
| **vCPU in use**   | vCPU taken on the host, out of what it can schedule (two per hardware thread)              |
| **Memory in use** | Memory taken on the host, out of what it keeps for VMs                                     |
| **Burn rate**     | What your `starting` and `running` VMs cost per hour, and what these VMs have spent so far |

The **VMs** list has one row per VM: **Name**, **Status**, **Size**, **Connect** (the SSH command, with a copy button), **Cost**, and the actions the state allows. Click a name to open the VM page.

> **Note:** **vCPU in use** and **Memory in use** are for the whole host, which other organizations share. Your own VMs are the rows below.

## The VM page

The VM page shows, from top to bottom: the name, status and action buttons; any error; the **Connect** block; the **Usage** panel; the **Console**. On the right: **Cost so far**, then the size with its specs (vCPU, memory, disk, image, region, private IP, SSH port, and when it was created, started and paused).

![A running VM's page](https://flockvm.com/docs/screenshots/vm-detail.webp "Connect, Usage and Console on the left; cost and specs on the right.")

The page refreshes the VM's status by itself: every 300 ms while it starts, every second while it pauses or stops, every 15 seconds otherwise.

## Live usage

The **Usage** panel reads "live · every second · last 60 s" while the VM runs. Each tile has its current value, a gauge and a one-minute chart.

![The Usage panel: CPU, memory, network and disk](https://flockvm.com/docs/screenshots/vm-usage.webp "Sampled by the host once a second.")

| Tile        | What it measures                                                                                                                                        |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **CPU**     | Busy time of the VM's own vCPUs, in %. 100 % means every vCPU is busy. The hint gives the vCPU busy, and the average and peak over the minute.          |
| **Memory**  | The VM process's resident memory on the host: the guest RAM touched since boot, out of the size's RAM. Linux keeps freed pages, so it rarely goes down. |
| **Network** | Download (↓) and upload (↑) rates, and the totals in and out since boot.                                                                                |
| **Disk**    | Blocks actually written to the root disk, out of the size's disk. While paused, it also shows the size of the pause snapshot.                           |

CPU, memory and network show while the VM runs. A paused or stopped VM shows "not running" and only its disk.

> **Tip: What the numbers tell you.**
>
> - CPU pinned at 100 % for long stretches: the next size up will go faster.
> - Memory close to the size's RAM: processes may get killed by the kernel. Pick a bigger size, or close what you don't need.
> - Disk near full: clean caches (`docker system prune`, `npm cache clean --force`, `apt-get clean`) or pick a size with more disk.

Inside the VM, the usual tools give the guest's own view:

```bash
htop          # processes, CPU and memory as the guest sees them
df -h /       # disk space of the root filesystem
free -h       # memory, page cache included
```

## Serial console

The **Console** shows the last 200 lines of the VM's serial console (`ttyS0`): what flockvm's boot units print (`flock-init` and the disk resize), and the kernel's warnings. The kernel boots quietly, so its normal boot messages do not show. It refreshes every 3 seconds while the VM is alive and follows new lines unless you scroll up.

![The Console of a VM page](https://flockvm.com/docs/screenshots/vm-logs.webp "The serial console, last 200 lines.")

Read it when a VM does not reach `running` or ends `failed`: it shows how far the boot got. A healthy first boot shows lines such as:

```text
flock-init: ssh host key ed25519 generated
flock-init: ssh host key ecdsa generated
flock-init: 1 ssh key(s) installed from MMDS
flock-init: ready
```

Anything you write to `/dev/ttyS0` from inside the VM shows there too:

```bash
echo "deploy finished" > /dev/ttyS0
```

> **Info:** The console is not a shell: it has no login prompt. For logs of your own services, use `journalctl` over SSH.

## Cost so far

The **Cost so far** card shows the VM's cost, the seconds billed and the hourly rate, and whether it bills now: "Up 2h 14m. Billing runs by the second." or "Not billing: only starting and running time counts." For every VM and day together, open **Usage**. See [Usage](https://flockvm.com/docs/billing/usage).

## Next steps

- [Usage and billing](https://flockvm.com/docs/billing/usage): Cost per day for your organization.
- [Lifecycle](https://flockvm.com/docs/vms/lifecycle): What each state bills.
- [Troubleshooting](https://flockvm.com/docs/resources/troubleshooting): When a VM does not start.
