Hostsvc/cpuinfo

From VI-Toolkit
Jump to navigation Jump to search

vimsh hostsvc/cpuinfo

Usage: cpuinfo [hyperthreadCfg]

Get the CPU information. If hyperthreadCfg is specified, sets configuration for hyperthreading.

Valid values include 'true' and 'false'.

example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password hostsvc/cpuinfo
(vim.host.CpuSchedulerSystem.HyperThreadScheduleInfo) {
   dynamicType = <unset>,
   available = false,
   active = false,
   config = true,
}