osmates job status
Show a job, or follow it to its end with --wait.
osmates job status <job> [--wait] [--json]Arguments
<job>RequiredThe job's id.
--waitWait for the job to end, showing its progress.
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints an object with these fields.
JSON Schema: /schemas/0/cli/job/status.json
createdAtstring (date-time)RequiredcreationStepsarray of strings or objectsEach item is one of
preparing,verifying,unpacking,waitingForMacOS,waitingForMachine,installingWindows,settingUpTemplate,startingMacOS,installingGuestAgent,copyingXcode,settingUpXcode,downloadingSimulator,readingMachine,finishing,stopping, or an object that holds one key:downloading,copyingInstallationFile,installingMacOS,installingDesktop,installingLinuxorconvertingDisk.creationSteps[].downloadingobjectcreationSteps[].copyingInstallationFileobjectcreationSteps[].installingMacOSobjectcreationSteps[].installingDesktopobjectcreationSteps[].installingLinuxobjectcreationSteps[].convertingDiskobjectfailureobjectfailure.actionsarray of objectsRequiredfailure.codestringfailure.kindstringRequiredOne of
failed,temporary,wrongInput.failure.messagestringRequiredidstringRequiredkindstringRequiredOne of
create,resume,clone,delete,start,suspend,snapshot,revert,exec,run,transfer,clipboard,compact,grow-disk,workspace-push,workspace-diff,export-disk,move,update-macos,update-firmware,move-image-cache,template-push,template-pull.machinestringRequiredoutputobject with integer valuesRequiredoutput.stdoutintegerAt least 0.
output.stderrintegerAt least 0.
progressobjectprogress.fractionnumberprogress.messagestringRequiredprogress.stepstring or objectOne of
preparing,verifying,unpacking,waitingForMacOS,waitingForMachine,installingWindows,settingUpTemplate,startingMacOS,installingGuestAgent,copyingXcode,settingUpXcode,downloadingSimulator,readingMachine,finishing,stopping, or an object that holds one key:downloading,copyingInstallationFile,installingMacOS,installingDesktop,installingLinuxorconvertingDisk.resultobjectHolds one key:
machine,deleted,started,suspended,snapshot,reverted,process,run,transfer,clipboard,compaction,diskGrowth,workspace,workspaceDiff,exported,moved,macOSUpdate,firmwareUpdate,imageCacheMoved,pushedorpulled.result.machineobjectresult.deletedobjectresult.startedobjectresult.suspendedobjectresult.snapshotobjectresult.revertedobjectresult.processobjectresult.runobjectresult.transferobjectresult.clipboardobjectresult.compactionobjectresult.diskGrowthobjectresult.workspaceobjectresult.workspaceDiffobjectresult.exportedobjectresult.movedobjectresult.macOSUpdateobjectresult.firmwareUpdateobjectresult.imageCacheMovedobjectresult.pushedobjectresult.pulledobjectstatestringRequiredOne of
running,succeeded,failed,cancelled.stepsarray of objectssteps[].endedstring (date-time)steps[].problemstringsteps[].startedstring (date-time)Requiredsteps[].stepstringRequiredOne of
clone,start,signIn,workspace,copyIn,program,copyOut,diff,delete.summarystringRequiredupdatedAtstring (date-time)Required
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. |