Vmsvc/get.runtime: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
(New page: ==== vimsh vmsvc/get.runtime ==== Usage: get.runtime vmid Get runtime information Category: Vimsh)
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
Usage: get.runtime vmid
Usage: get.runtime vmid


Get runtime information
Get runtime information for the selected machine identified by its vmid.
 
You can use [[vmsvc/getallvms]] to retrieve the vmid
 
==== Example output when vm is off ====
vmsvc/get.runtime 4400
Runtime information
(vim.vm.RuntimeInfo) {
    dynamicType = <unset>,
    host = 'vim.HostSystem:ha-host',
    connectionState = "connected",
    powerState = "poweredOff",
    toolsInstallerMounted = false,
    suspendTime = <unset>,
    bootTime = <unset>,
    suspendInterval = 0,
    question = (vim.vm.QuestionInfo) null,
    memoryOverhead = 71675904,
    maxCpuUsage = 2392,
    maxMemoryUsage = 256,
    numMksConnections = 0,
}
 
==== Example output when vm is on ====
vmsvc/get.runtime 2200
Runtime information
(vim.vm.RuntimeInfo) {
    dynamicType = <unset>,
    host = 'vim.HostSystem:ha-host',
    connectionState = "connected",
    powerState = "poweredOn",
    toolsInstallerMounted = false,
    suspendTime = <unset>,
    bootTime = "2008-12-13T12:04:27.476613+01:00",
    suspendInterval = 0,
    question = (vim.vm.QuestionInfo) null,
    memoryOverhead = 87277568,
    maxCpuUsage = 4186,
    maxMemoryUsage = 384,
    numMksConnections = 0,
}


[[Category: Vimsh]]
[[Category: Vimsh]]

Latest revision as of 13:24, 17 December 2008

vimsh vmsvc/get.runtime

Usage: get.runtime vmid

Get runtime information for the selected machine identified by its vmid.

You can use vmsvc/getallvms to retrieve the vmid

Example output when vm is off

vmsvc/get.runtime 4400
Runtime information
(vim.vm.RuntimeInfo) {
   dynamicType = <unset>, 
   host = 'vim.HostSystem:ha-host', 
   connectionState = "connected", 
   powerState = "poweredOff", 
   toolsInstallerMounted = false, 
   suspendTime = <unset>, 
   bootTime = <unset>, 
   suspendInterval = 0, 
   question = (vim.vm.QuestionInfo) null, 
   memoryOverhead = 71675904, 
   maxCpuUsage = 2392, 
   maxMemoryUsage = 256, 
   numMksConnections = 0, 
}

Example output when vm is on

vmsvc/get.runtime 2200 
Runtime information
(vim.vm.RuntimeInfo) {
   dynamicType = <unset>, 
   host = 'vim.HostSystem:ha-host', 
   connectionState = "connected", 
   powerState = "poweredOn", 
   toolsInstallerMounted = false, 
   suspendTime = <unset>, 
   bootTime = "2008-12-13T12:04:27.476613+01:00", 
   suspendInterval = 0, 
   question = (vim.vm.QuestionInfo) null, 
   memoryOverhead = 87277568, 
   maxCpuUsage = 4186, 
   maxMemoryUsage = 384, 
   numMksConnections = 0, 
}