Vmsvc/get.filelayout: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
New page: ==== vimsh vmsvc/get.filelayout ==== Usage: get.filelayout vmid Show the list of files for this virtual machine. Category: Vimsh
 
No edit summary
 
Line 3: Line 3:


Show the list of files for this virtual machine.
Show the list of files for this virtual machine.
See also [[vmsvc/getallvms]] to get a lits of all VMs
==== example output ====
# vmware-vim-cmd -H 10.10.10.10 -U root -P password /vmsvc/get.filelayout 96
(vim.vm.FileInfo) {
    dynamicType = <unset>,
    vmPathName = "[store] Trustix/Trustix.vmx",
    snapshotDirectory = "[store] Trustix",
    suspendDirectory = "[store] Trustix",
    logDirectory = "[store] Trustix",
}
(vim.vm.FileLayout) {
    dynamicType = <unset>,
    configFile = (string) [
      "Trustix.vmsd",
      "Trustix.vmxf",
      "Trustix.nvram"
    ],
    logFile = (string) [
      "vmware-1.log",
      "vmware-2.log",
      "vmware.log"
    ],
    disk = (vim.vm.FileLayout.DiskLayout) [
      (vim.vm.FileLayout.DiskLayout) {
          dynamicType = <unset>,
          key = 2000,
          diskFile = (string) [
            "[store] Trustix/Trustix.vmdk"
          ],
      }
    ],
    swapFile = <unset>,
  }


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

Latest revision as of 13:19, 4 January 2009

vimsh vmsvc/get.filelayout

Usage: get.filelayout vmid

Show the list of files for this virtual machine.

See also vmsvc/getallvms to get a lits of all VMs

example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /vmsvc/get.filelayout 96
(vim.vm.FileInfo) {
   dynamicType = <unset>,
   vmPathName = "[store] Trustix/Trustix.vmx",
   snapshotDirectory = "[store] Trustix",
   suspendDirectory = "[store] Trustix",
   logDirectory = "[store] Trustix",
}
(vim.vm.FileLayout) {
   dynamicType = <unset>,
   configFile = (string) [
      "Trustix.vmsd",
      "Trustix.vmxf",
      "Trustix.nvram"
   ],
   logFile = (string) [
      "vmware-1.log",
      "vmware-2.log",
      "vmware.log"
   ],
   disk = (vim.vm.FileLayout.DiskLayout) [
      (vim.vm.FileLayout.DiskLayout) {
         dynamicType = <unset>,
         key = 2000,
         diskFile = (string) [
            "[store] Trustix/Trustix.vmdk"
          ],
      }
   ],
   swapFile = <unset>,
 }