Vmsvc/get.summary

From VI-Toolkit
Jump to: navigation, search

vimsh vmsvc/get.summary

Usage: get.summary vmid

Retrieves and displays the listsummary status from the vm.

example output

[/]$ vmsvc/get.summary 2200

Listsummary: 

(vim.vm.Summary) {
   dynamicType = <unset>,
   vm = 'vim.VirtualMachine:2200',
   runtime = (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 = 87203840,
      maxCpuUsage = 4186,
      maxMemoryUsage = 384,
      numMksConnections = 0,
   },
   guest = (vim.vm.Summary.GuestSummary) {
      dynamicType = <unset>,
      guestId = "ubuntuGuest",
      guestFullName = "Ubuntu Linux (32-bit)",
      toolsStatus = "toolsOk",
      hostName = "vi-toolkit",
      ipAddress = "10.10.10.10",
   },
   config = (vim.vm.Summary.ConfigSummary) {
      dynamicType = <unset>,
      name = "vi-toolkit",
      template = false,
      vmPathName = "[store] vi-toolkit/vi-toolkit.vmx",
      memorySizeMB = 384,
      cpuReservation = <unset>,
      memoryReservation = <unset>,
      numCpu = 1,
      numEthernetCards = 0,
      numVirtualDisks = 1,
      uuid = "262dfea0-9489-424c-ab13-2307e87d5253",
      guestId = "ubuntuGuest",
      guestFullName = "Ubuntu Linux (32-bit)",
      annotation = "",
   },
   quickStats = (vim.vm.Summary.QuickStats) {
      dynamicType = <unset>,
      overallCpuUsage = 90,
      guestMemoryUsage = 115,
      hostMemoryUsage = 208,
      guestHeartbeatStatus = "green",
      distributedCpuEntitlement = <unset>,
      distributedMemoryEntitlement = <unset>,
   },
   overallStatus = "green",
}