Vmsvc/get.runtime: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(2 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


Use [[vmsvc/getallvms]] to retrieve the vmid
==== Example output when vm is off ====
 
==== example output when vm is off ====
  vmsvc/get.runtime 4400
  vmsvc/get.runtime 4400
  Runtime information
  Runtime information
Line 26: Line 25:
  }
  }


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


[[Category: Vimsh]]
[[Category: Vimsh]]
1,274

edits

Navigation menu

Guest

Support my products