To check how much RAM a bhyve VM is using
User documentation
26/02/2026
To check how much RAM a bhyve VM is using on FreeBSD, use top or {Link: htop https://forums.freebsd.org/threads/bhyve-poor-ram-usage-for-windows-m.72367/} on the host to monitor the bhyve process, specifically checking the RES (Resident) or VIRT (Virtual) columns. Alternatively, use {Link: vm-bhyve https://github.com/churchers/vm-bhyve/blob/master/README.md} commands to list running VMs and their configuration.
FreeBSD
FreeBSD
+1
Here are the best methods:
Host Monitoring: Run top on the FreeBSD host and look for the specific bhyve process name for your VM.
htop: Use pkg install htop and monitor the VIRT column for the virtual memory allocation.
vm-bhyve: If using the vm-bhyve management tool, run vm list to see allocated resources.
Diagnostic Command: For more detailed statistics, use bhyvectl --get-all --vm=.
FreeBSD
FreeBSD
+3
Be aware that ZFS ARC cache can sometimes impact memory reporting, making the VM appear to use more swap than it actually is.