Request an invite
Docs menu

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.

Usage
osmates status [--json]

Arguments

--json

Print machine-readable JSON.

JSON output

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

JSON Schema: /schemas/0/cli/status.json

installedobject
installed.enginestring
installed.signaturestringRequired
installed.versionstringRequired
planobjectRequired
plan.itemsarray of objectsRequired
plan.phasestringRequired

One of serving, outdated, draining, ready, restarting.

plan.roomintegerRequired

At least 0.

serviceobjectRequired
service.applicationstringRequired
service.buildobjectRequired
service.phasestringRequired

One of serving, outdated, draining, ready, restarting.

service.processIdentifierintegerRequired
statusobject
status.backsUpMachinesbooleanRequired
status.buildobject
status.hostobjectRequired
status.imageCacheobject
status.processIdentifierintegerRequired
status.runningNetworksarray of objectsRequired
status.startedAtstring (date-time)Required
status.versionstringRequired

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