Skip to content

bhatti stop

Snapshot a sandbox to disk and free its memory. The VM keeps its identity, IP, and on-disk state; resume with bhatti start.

bhatti stop <sandbox>

Pauses the VM, dumps memory + CPU state to disk, then frees the host RAM. The first stop on a sandbox is a full snapshot (~3-4s for a 1GB VM); subsequent stops are diff snapshots that only persist dirty pages (~20-50ms typical).

Stopped sandboxes use zero CPU and zero memory on the host. Their disk footprint includes the rootfs, attached volumes, and the snapshot files (mem.snap, vm.snap).

In normal operation you don’t need this — idle sandboxes pause and resume automatically per the thermal manager. Use bhatti stop to control thermal state explicitly when you know a sandbox will be idle for a while and want to free memory immediately.

Terminal window
bhatti stop dev
sandbox/dev stopped
Terminal window
# Resume later
bhatti start dev

This command takes only global flags. See Global flags for --url, --token, --json, --timing, --data-dir.