Request an invite
Docs menu

osmates vm info

Describe a machine: its state, system, guest agent, addresses, whether macOS lets the agent use accessibility features, screen, snapshots, the space its disk, its bundle and each snapshot take, how busy a machine on the OSMates engine is and how much memory OSMates takes for it.

Usage
osmates vm info <machine> [--json]

Arguments

<machine>Required

The machine's name or identifier.

--json

Print machine-readable JSON.

JSON output

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

JSON Schema: /schemas/0/cli/vm/info.json

accessobject
access.foldersarray of objectsRequired
access.isCreatorbooleanRequired
access.machinestring (uuid)Required
access.needsConfirmationbooleanRequired
access.scopesarray of stringsRequired

Each item is one of observe, input, exec_user, exec_admin, guest_files, host_transfer, snapshots, lifecycle, network, usb.

access.untilstring (date-time)
activityobject
activity.elapsedintegerRequired
activity.guestBusynumberRequired
activity.guestCPUsintegerRequired
activity.macCPUnumberRequired
activity.wattsnumber
agentobject
agent.displayobject
agent.guestobject
agent.identityobject
agent.layoutOnThisMacboolean
agent.localeobject
agent.problemstring
agent.readinessobject
agent.sessionobject
agent.truststring or object

One of trusted, awaitingApproval, removed, or an object that holds one key: unavailable.

agent.updateobject

Holds one key: updating or failed.

agentNeverAnsweredbooleanRequired
basicDisplaystring

One of startedWithoutGPU, fellBack.

bundlestring
cameraobject
camera.accessstring

One of undetermined, granted, denied.

camera.devicestring
camera.framesintegerRequired

At least 0.

camera.settingsobjectRequired
camera.statestringRequired

One of off, idle, asking, denied, live, heldForAgent, unavailable.

camera.streamobject
clipboardobject
clipboard.channelstring or objectRequired

One of off, connecting, waitingForSignIn, or an object that holds one key: ready, locked, unavailable, copying or failed.

clipboard.lastCarryobject
clipboard.sharingstringRequired

One of off, to-guest, to-mac, both.

compactionstring
configurationobject
configuration.acceleratedGraphicsboolean
configuration.accountobjectRequired
configuration.cameraobject
configuration.clipboardstringRequired

One of off, to-guest, to-mac, both.

configuration.cpuCountintegerRequired
configuration.createdAtstring (date-time)Required
configuration.creatorstring
configuration.credentialsarray of objects
configuration.dataDisksarray of objects
configuration.discstring (uri)
configuration.diskBusstring

One of nvme.

configuration.diskSizeintegerRequired

At least 0.

configuration.displayobject
configuration.displayCountinteger
configuration.egressobject
configuration.enginestringRequired

One of virtualization, hypervisor.

configuration.firmwareobject
configuration.firstAgentAnswerstring (date-time)
configuration.forwardsarray of objects
configuration.highDynamicRangeboolean
configuration.idstring (uuid)Required
configuration.importedobject
configuration.isEphemeralbooleanRequired
configuration.keepsMacAwakeboolean
configuration.lastBuildobject
configuration.macOSobject
configuration.memorySizeintegerRequired

At least 0.

configuration.namestringRequired
configuration.nestedVirtualizationboolean
configuration.networkobject

Holds one key: nat or vmnet.

configuration.operatingSystemstringRequired

One of linux, macOS, windows, freeBSD.

configuration.originobject
configuration.ownedByRunboolean
configuration.ownerobject
configuration.partitionGrowthobject
configuration.presetstring

One of agent-sandbox.

configuration.processorobject
configuration.pulledFromobject
configuration.recordingstring

One of off, on, video, trajectory.

configuration.requirementsobject
configuration.rosettaboolean
configuration.secureBootboolean
configuration.securityKeyboolean
configuration.sharesarray of objectsRequired
configuration.shortcutsstring

One of mac, pc.

configuration.snapshotPolicyobjectRequired
configuration.soundobject
configuration.sourceobject
configuration.startsAtLoginboolean
configuration.templateSincestring (date-time)
configuration.usbDevicesarray of objects
configuration.watchdogboolean
configuration.windowsDriversobject
configuration.windowsDriversUndonestring
configuration.workspaceobject
controlobject
control.acquiredAtstring (date-time)Required
control.holderobjectRequired
control.lengthintegerRequired
control.machinestring (uuid)Required
control.pausedSincestring (date-time)
control.renewedAtstring (date-time)Required
credentialsarray of objects
credentials[].changedAtstring (date-time)Required
credentials[].createdAtstring (date-time)Required
credentials[].grantsarray of objectsRequired
credentials[].idstring (uuid)Required
credentials[].namestringRequired
credentials[].usesarray of objectsRequired
credentials[].variablestring
dataDisksarray of objects
dataDisks[].allocatedintegerRequired

At least 0.

dataDisks[].fromstringRequired
dataDisks[].numberintegerRequired
dataDisks[].sizeintegerRequired

At least 0.

discDrivesarray of objects
discDrives[].discstring (uri)
discDrives[].isRequiredboolean
diskobject
disk.allocatedintegerRequired

At least 0.

disk.layoutobject
disk.sizeintegerRequired

At least 0.

disk.volumeAvailableinteger

At least 0.

diskGrowthstring
displayobject
display.framestringRequired
display.heightintegerRequired
display.isResizingbooleanRequired
display.pointerobject
display.sourcestring

One of firmware, gpu.

display.undrawnstring
display.widthintegerRequired
egressobject
egress.allowedintegerRequired
egress.appliedstring

One of live, detached, detachedUntilRestart, atNextStart.

egress.lastRefusalobject
egress.pathstring

One of direct, filtered.

egress.pathFollowsPolicybooleanRequired
egress.policyobjectRequired
egress.refusedintegerRequired
egress.restartNeededbooleanRequired
egress.runstring

One of direct, filtered, detached.

egress.sharedNetworkstring
engineobject
engine.enginestringRequired

One of virtualization, hypervisor.

engine.hasarray of stringsRequired

Each item is one of battery, fiveMouseButtons, sound, memorySnapshots, rosetta, secureBoot, acceleratedGraphics, camera, securityKey, nestedVirtualization.

engine.lacksarray of stringsRequired

Each item is one of battery, fiveMouseButtons, sound, memorySnapshots, rosetta, secureBoot, acceleratedGraphics, camera, securityKey, nestedVirtualization.

firmwareOfferedstring
firmwareUpdatestring
fixedAddressstring (ipv4)
forwardsarray of objects
forwards[].connectionsintegerRequired
forwards[].droppedintegerRequired
forwards[].forwardobjectRequired
forwards[].statestring or objectRequired

One of listening, stopped, or an object that holds one key: unavailable.

guestDrawsNoHighDynamicRangeboolean
guestDrawsOneDisplayboolean
guestRequestsboolean
memoryobject
memory.budgetobjectRequired
memory.footprintintegerRequired

At least 0.

memory.isOverBudgetbooleanRequired
memory.peakintegerRequired

At least 0.

movestring
repositorySharesarray of strings
rosettaobject
rosetta.availabilitystringRequired

One of installed, notInstalled, notSupported.

rosetta.guestobject

Holds one key: registered or failed.

rosetta.inThisRunboolean
rosetta.onbooleanRequired
rosetta.savedboolean
sharesarray of objects
shares[].eventsOffstring
shares[].guestPathstring
shares[].problemstring
shares[].shareobjectRequired
shares[].unmountedstring
snapshotsarray of objectsRequired
snapshots[].createdAtstring (date-time)Required
snapshots[].discstring (uri)
snapshots[].discControllerboolean
snapshots[].firmwareobject
snapshots[].frameworkSoundobject
snapshots[].guestToolsboolean
snapshots[].hardwareobjectRequired
snapshots[].hostBuildstring
snapshots[].idstring (uuid)Required
snapshots[].includesMemorybooleanRequired
snapshots[].isCrashConsistentbooleanRequired
snapshots[].isKeptbooleanRequired
snapshots[].namestringRequired
snapshots[].networkPathstring

One of direct, detached, filtered.

snapshots[].originstring or objectRequired

One of manual, or an object that holds one key: agentSession, agent, beforeRevert, schedule, beforeUpdate, beforeDrivers, guest, beforeGuestRevert, codeSession, beforeMacOSUpdate or beforeFirmwareUpdate.

snapshots[].partitionGrowthobject
snapshots[].rosettaboolean
snapshots[].windowsDriversobject
snapshots[].withoutNetworkbooleanRequired
soundobject
sound.accessstring

One of undetermined, granted, denied.

sound.inputobject
sound.microphonestringRequired

One of off, idle, asking, denied, live, heldForAgent, unavailable, connected, untilStop, nextStart.

sound.missedServicesintegerRequired
sound.outputobject
sound.settingsobjectRequired
sound.thisRunobject
spaceobject
space.bundleobjectRequired
space.snapshotsarray of objectsRequired
statusobjectRequired
status.canSuspendbooleanRequired
status.controlobject
status.detailstring
status.displayobject
status.failureobject
status.idstring (uuid)Required
status.namestringRequired
status.pauseReasonstring or object

One of person, hostAsleep, or an object that holds one key: volumeFull, volumeLow or tpmStateUnsaved.

status.shutdownWaitobject
status.startWaitobject
status.statestringRequired

One of starting, running, paused, stopping, stopped, failed, suspended, offline.

status.suspensionobject
status.updatedAtstring (date-time)Required
status.workerBuildstring
status.workerProcessIdentifierinteger
volumestring

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