osmates status
Show whether osmatesd is running, the build it runs, the shared networks it owns, whether Time Machine backs up machines, where the image cache is, and what an update of OSMates waits for.
osmates status [--json]Arguments
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints an object with these fields.
JSON Schema: /schemas/0/cli/status.json
installedobjectinstalled.enginestringinstalled.signaturestringRequiredinstalled.versionstringRequiredplanobjectRequiredplan.itemsarray of objectsRequiredplan.phasestringRequiredOne of
serving,outdated,draining,ready,restarting.plan.roomintegerRequiredAt least 0.
serviceobjectRequiredservice.applicationstringRequiredservice.buildobjectRequiredservice.phasestringRequiredOne of
serving,outdated,draining,ready,restarting.service.processIdentifierintegerRequiredstatusobjectstatus.backsUpMachinesbooleanRequiredstatus.buildobjectstatus.hostobjectRequiredstatus.imageCacheobjectstatus.processIdentifierintegerRequiredstatus.runningNetworksarray of objectsRequiredstatus.startedAtstring (date-time)Requiredstatus.versionstringRequired
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. |