Vmsvc/get.guest: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
New page: ==== vimsh vmsvc/get.guest ==== Usage: get.guest vmid Get guest information Category: Vimsh
 
No edit summary
Line 3: Line 3:


Get guest information
Get guest information
==== Example output ====
[/]$ vmsvc/get.guest 4400
Guest information:
(vim.vm.GuestInfo) {
    dynamicType = <unset>,
    toolsStatus = "toolsOk",
    toolsVersion = "103908",
    guestId = "ubuntuGuest",
    guestFamily = "linuxGuest",
    guestFullName = "Ubuntu Linux (32-bit)",
    hostName = "vitoolkit",
    ipAddress = "10.10.10.10",
    net = (vim.vm.GuestInfo.NicInfo) [
      (vim.vm.GuestInfo.NicInfo) {
          dynamicType = <unset>,
          network = "Virtual Machines Network",
          ipAddress = (string) [
            "10.10.10.10"
          ],
          macAddress = "00:0c:18:4e:13:27",
          connected = true,
          deviceConfigId = 4000,
      }
    ],
    disk = (vim.vm.GuestInfo.DiskInfo) [
      (vim.vm.GuestInfo.DiskInfo) {
          dynamicType = <unset>,
          diskPath = "/",
          capacity = 30027378176,
          freeSpace = 10655812096,
      }
    ],
    screen = (vim.vm.GuestInfo.ScreenInfo) {
      dynamicType = <unset>,
      width = 0,
      height = 0,
    },
    guestState = "running",
}


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

Revision as of 11:58, 17 December 2008

vimsh vmsvc/get.guest

Usage: get.guest vmid

Get guest information

Example output

[/]$ vmsvc/get.guest 4400 
Guest information:

(vim.vm.GuestInfo) {
   dynamicType = <unset>,
   toolsStatus = "toolsOk",
   toolsVersion = "103908",
   guestId = "ubuntuGuest",
   guestFamily = "linuxGuest",
   guestFullName = "Ubuntu Linux (32-bit)",
   hostName = "vitoolkit",
   ipAddress = "10.10.10.10",
   net = (vim.vm.GuestInfo.NicInfo) [
      (vim.vm.GuestInfo.NicInfo) {
         dynamicType = <unset>,
         network = "Virtual Machines Network",
         ipAddress = (string) [
            "10.10.10.10"
         ],
         macAddress = "00:0c:18:4e:13:27",
         connected = true,
         deviceConfigId = 4000,
      } 
   ],
   disk = (vim.vm.GuestInfo.DiskInfo) [
      (vim.vm.GuestInfo.DiskInfo) {
         dynamicType = <unset>,
         diskPath = "/",
         capacity = 30027378176,
         freeSpace = 10655812096,
      }
   ], 
   screen = (vim.vm.GuestInfo.ScreenInfo) {
      dynamicType = <unset>,
      width = 0,
      height = 0,
   },
   guestState = "running",
}