Hostsvc/datastore/listsummary: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
New page: ==== hostsvc/datastore/listsummary ==== Usage: List a summary of all datastores available. Category: Vimsh
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==== hostsvc/datastore/listsummary ====
==== vimsh hostsvc/datastore/listsummary ====
Usage: List a summary of all datastores available.
Usage: List a summary of all datastores available.
==== example output ====
# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/datastore/listsummary
(vim.Datastore.Summary) [
    (vim.Datastore.Summary) {
      dynamicType = <unset>,
      datastore = 'vim.Datastore:24b85cd6-123d5101-7b21-0016c8c08128',
      name = "store",
      url = "/vmfs/volumes/24b85cd6-123d5101-7b21-0016c8c08128",
      capacity = 639681691648,
      freeSpace = 62658707456,
      accessible = true,
      multipleHostAccess = <unset>,
      type = "VMFS",
    },
    (vim.Datastore.Summary) {
      dynamicType = <unset>,
        datastore = 'vim.Datastore:271a2c8b-1f21810d-c28d-000d172bcef8',
      name = "datastore2",
      url = "/vmfs/volumes/271a2c8b-1f21810d-c28d-000d172bcef8",
      capacity = 3489660928,
      freeSpace = 3178233856,
      accessible = true,
      multipleHostAccess = <unset>,
      type = "VMFS",
    }
]


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

Latest revision as of 02:55, 5 January 2009

vimsh hostsvc/datastore/listsummary

Usage: List a summary of all datastores available.

example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/datastore/listsummary
(vim.Datastore.Summary) [
   (vim.Datastore.Summary) {
      dynamicType = <unset>,
      datastore = 'vim.Datastore:24b85cd6-123d5101-7b21-0016c8c08128',
      name = "store",
      url = "/vmfs/volumes/24b85cd6-123d5101-7b21-0016c8c08128",
      capacity = 639681691648,
      freeSpace = 62658707456,
      accessible = true,
      multipleHostAccess = <unset>,
      type = "VMFS",
   },
   (vim.Datastore.Summary) {
      dynamicType = <unset>,
       datastore = 'vim.Datastore:271a2c8b-1f21810d-c28d-000d172bcef8',
      name = "datastore2",
      url = "/vmfs/volumes/271a2c8b-1f21810d-c28d-000d172bcef8",
      capacity = 3489660928,
      freeSpace = 3178233856,
      accessible = true,
      multipleHostAccess = <unset>,
      type = "VMFS",
   }
]