vmstatedctl
—
Starts, stops and manages virtual machines
vmstatedctl |
[-h ] [-s
sockpath] command
vmname |
The vmstatedctl
utility sends user
commands to
vmstated(8)
to change the state and interoperate with virtual machines running on the
host.
-s
sockpath
- specify sockpath to be used as path to vmstated's
socket file instead of
/var/run/vmstated.sock.
-h
- print usage summary and exit immediately
vmstatedctl
supports the following
commands for the command argument:
- start
- Starts a virtual machine
- stop
- Stops a virtual machine
- status
- Lists the known virtual machines managed by
vmstated(8)
and their current runtime state
- failreset
- Resets a virtual machine, that has reached FAILED state back to the INIT
state.
- /var/run/vmstated.sock - socket file used by
vmstatedctl
to communicate with vmstated.
The vmstated
utility exits 0 on
success, and >0 if an error occurs. It may fail for one of the
following reasons:
- It failed to connect to vmstated.
- It failed to acquire necessary resources.
The vmstatedctl
command first appeared in
FreeBSD 13.2.