Request an invite
Docs menu

osmates vm list

List virtual machines, and the machines being created with their progress or why they stopped.

Usage
osmates vm list [--json]

A library machine's line gives its disk's size, what its bundle takes on the Mac as du counts it, and its snapshots' part of that, and the volume it is on when that isn't the startup volume. A machine whose volume isn't attached is offline until the volume is back. The last line names the library's shared and host-only networks, the machines on each and whether it runs.

Arguments

--json

Print machine-readable JSON.

JSON output

With --json, it prints an object with these fields.

JSON Schema: /schemas/0/cli/vm/list.json

creationsarray of objectsRequired
creations[].creationobjectRequired
creations[].pauseReasonstring
creations[].stateobjectRequired

Holds one key: inProgress or interrupted.

machinesarray of objectsRequired
machines[].bundlestring
machines[].compactionstring
machines[].configurationobject
machines[].movestring
machines[].spaceobject
machines[].sshobject
machines[].statusobjectRequired
machines[].volumestring
machines[].volumeIDstring
networksarray of objectsRequired
networks[].machinesarray of stringsRequired
networks[].runningbooleanRequired
networks[].specobjectRequired
volumesarray of objectsRequired
volumes[].canLeaveTheMacbooleanRequired
volumes[].formatstring
volumes[].idstringRequired
volumes[].isAttachedbooleanRequired
volumes[].isStartupbooleanRequired
volumes[].machinesintegerRequired
volumes[].namestringRequired
volumes[].refusalstring

One of notAPFS, readOnly, notLocal, notAttached.

Fields nested deeper are in the schema.

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page