osmates vm events
Print machines' events: state changes, resumes from saved memory, the guest agent, the login screen, prompts, compactions.
osmates vm events [<machine>] [--follow] [--json]Arguments
<machine>Only this machine's events, by its name or identifier; also a machine no longer listed.
--followKeep printing new events until interrupted.
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints one object per line, with these fields.
JSON Schema: /schemas/0/cli/vm/events.json
datestring (date-time)Requiredkindobject or stringRequiredOne of
agentLost,guestUnresponsive,loginScreen,locked,unlocked,created,deleted,creationStarted,compactionEnded,diskGrowthEnded,suspensionDiscarded,snapshotsChanged,settingsChanged,personTookControl,keptCloneUnseen,displayRecovered,firmwareUpdateEnded, or an object that holds one key:state,agentConnected,agentUpdating,agentUpdateFailed,signedIn,dialogShown,dialogClosed,displayChanged,shareUnavailable,creationInterrupted,compactionStarted,diskGrowthStarted,diskGrown,partitionGrown,partitionGrowthWaits,partitionGrowthFailed,diskCounted,restarted,resumedFromMemory,stopCodeShown,automaticSnapshotFailed,automaticSnapshotWithoutMemory,retentionFailed,controlStarted,controlPaused,controlResumed,controlEnded,networkChanged,clockChanged,forwardUnavailable,forwardRefused,sharesMounted,sharesNotMounted,shareReplayCollapsed,shareReplayOff,workspacePushed,workspaceDiffTaken,workspaceKept,workspaceForgotten,guestKernelFault,microphone,soundUnavailable,suspendable,notStartedAtLogin,displayFellBack,camera,windowsDriversInstalling,windowsDriversInstalled,windowsDriversNotInstalled,rosettaUnavailable,rosettaRegistered,rosettaNotRegistered,guestRequest,guestRequestsRefused,guestRequestsLimited,memoryOverBudget,memoryWithinBudget,egressBlocked,egressChanged,discInserted,discEjected,discUnavailable,usbAttached,usbDetached,usbNotAttached,screenKeptOn,screenNotKeptOn,watchdogRestarting,watchdogLeftStopped,watchdogRefused,moveStarted,moveEnded,firmwareUpdateStarted,firmwareUpdated,credential,macOSChanged,macOSUpdateNotSaved,macOSMemoryShort,returnPathsChangedorreturnPathsUnwatched.kind.stateobjectkind.agentConnectedobjectkind.agentUpdatingobjectkind.agentUpdateFailedobjectkind.signedInobjectkind.dialogShownobjectkind.dialogClosedobjectkind.displayChangedobjectkind.shareUnavailableobjectkind.creationInterruptedobjectkind.compactionStartedobjectkind.diskGrowthStartedobjectkind.diskGrownobjectkind.partitionGrownobjectkind.partitionGrowthWaitsobjectkind.partitionGrowthFailedobjectkind.diskCountedobjectkind.restartedobjectkind.resumedFromMemoryobjectkind.stopCodeShownobjectkind.automaticSnapshotFailedobjectkind.automaticSnapshotWithoutMemoryobjectkind.retentionFailedobjectkind.controlStartedobjectkind.controlPausedobjectkind.controlResumedobjectkind.controlEndedobjectkind.networkChangedobjectkind.clockChangedobjectkind.forwardUnavailableobjectkind.forwardRefusedobjectkind.sharesMountedobjectkind.sharesNotMountedobjectkind.shareReplayCollapsedobjectkind.shareReplayOffobjectkind.workspacePushedobjectkind.workspaceDiffTakenobjectkind.workspaceKeptobjectkind.workspaceForgottenobjectkind.guestKernelFaultobjectkind.microphoneobjectkind.soundUnavailableobjectkind.suspendableobjectkind.notStartedAtLoginobjectkind.displayFellBackobjectkind.cameraobjectkind.windowsDriversInstallingobjectkind.windowsDriversInstalledobjectkind.windowsDriversNotInstalledobjectkind.rosettaUnavailableobjectkind.rosettaRegisteredobjectkind.rosettaNotRegisteredobjectkind.guestRequestobjectkind.guestRequestsRefusedobjectkind.guestRequestsLimitedobjectkind.memoryOverBudgetobjectkind.memoryWithinBudgetobjectkind.egressBlockedobjectkind.egressChangedobjectkind.discInsertedobjectkind.discEjectedobjectkind.discUnavailableobjectkind.usbAttachedobjectkind.usbDetachedobjectkind.usbNotAttachedobjectkind.screenKeptOnobjectkind.screenNotKeptOnobjectkind.watchdogRestartingobjectkind.watchdogLeftStoppedobjectkind.watchdogRefusedobjectkind.moveStartedobjectkind.moveEndedobjectkind.firmwareUpdateStartedobjectkind.firmwareUpdatedobjectkind.credentialobjectkind.macOSChangedobjectkind.macOSUpdateNotSavedobjectkind.macOSMemoryShortobjectkind.returnPathsChangedobjectkind.returnPathsUnwatchedobjectmachinestring (uuid)RequirednamestringRequiredsequenceintegerRequiredAt least 0.
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. |