osmates vm list
List virtual machines, and the machines being created with their progress or why they stopped.
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
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints an object with these fields.
JSON Schema: /schemas/0/cli/vm/list.json
creationsarray of objectsRequiredcreations[].creationobjectRequiredcreations[].pauseReasonstringcreations[].stateobjectRequiredHolds one key:
inProgressorinterrupted.machinesarray of objectsRequiredmachines[].bundlestringmachines[].compactionstringmachines[].configurationobjectmachines[].movestringmachines[].spaceobjectmachines[].sshobjectmachines[].statusobjectRequiredmachines[].volumestringmachines[].volumeIDstringnetworksarray of objectsRequirednetworks[].machinesarray of stringsRequirednetworks[].runningbooleanRequirednetworks[].specobjectRequiredvolumesarray of objectsRequiredvolumes[].canLeaveTheMacbooleanRequiredvolumes[].formatstringvolumes[].idstringRequiredvolumes[].isAttachedbooleanRequiredvolumes[].isStartupbooleanRequiredvolumes[].machinesintegerRequiredvolumes[].namestringRequiredvolumes[].refusalstringOne of
notAPFS,readOnly,notLocal,notAttached.
Fields nested deeper are in the schema.
Exit statuses
Its exit status is one of these.
| Status | Meaning |
|---|---|
| 0 | The command did what it was asked. |
| 1 | The command failed; with --json, standard error's last line is the error object. |
| 64 | The command line is wrong, as ArgumentParser found before the command ran. |
| 65 | What was given is wrong, found while the command ran; the same command fails until it changes. |
| 75 | The same command can work later with nothing changed, as while an update finishes. |
| 130 | Control-C cancelled what the command started. |