Project

General

Profile

To check how much CPU a bhyve virtual machine is using

User documentation
26/02/2026

To check how much CPU a bhyve virtual machine is using, use standard FreeBSD tools on the host system, primarily top, htop, or ps. Bhyve processes run as bhyve: and show their CPU usage, often exceeding 100% if multiple virtual cores are active, as the percentage represents total host CPU usage.
The FreeBSD Project
The FreeBSD Project
+3
Here are the best methods:
top -P or top -H: Run top on the host. Press H to see individual threads (vCPUs) or top -P to see usage per CPU core. Look for the bhyve process name.
ps Command: Use ps -axu | grep bhyve to see the CPU percentage (%CPU column) for each bhyve process.
vm-bhyve (if used): Use vm info to see general status, though top is better for real-time monitoring.
bhyvectl: Use bhyvectl --get-all --vm= to view specific, detailed statistics.
The FreeBSD Project
The FreeBSD Project
+3
Note on High Usage: Idle Windows VMs may appear to use high CPU (20-300%) due to active polling. Ensure the -H flag is used in bhyve configuration to yield the CPU when idle.

Files