Hostsvc/hostsummary: Difference between revisions
added example output
(New page: ==== Vimsh hostsvc/hostsummary ==== Usage: hostsummary Retrieves the host summary information. Category: Vimsh) |
(added example output) |
||
Line 3: | Line 3: | ||
Retrieves the host summary information. | Retrieves the host summary information. | ||
====example output==== | |||
# vmware-vim-cmd -H 10.10.10.10 -U root -P password hostsvc/hostsummary | |||
(vim.host.Summary) { | |||
dynamicType = <unset>, | |||
host = 'vim.HostSystem:ha-host', | |||
hardware = (vim.host.Summary.HardwareSummary) { | |||
dynamicType = <unset>, | |||
vendor = "VMware, Inc.", | |||
model = "VMware Virtual Platform", | |||
uuid = "238ef3e5-a923-b48c-5ab7-0d820b1cbde7", | |||
otherIdentifyingInfo = (vim.host.SystemIdentificationInfo) [ | |||
(vim.host.SystemIdentificationInfo) { | |||
dynamicType = <unset>, | |||
identifierValue = " No Asset Tag", | |||
identifierType = (vim.ElementDescription) { | |||
dynamicType = <unset>, | |||
label = "AssetTag", | |||
summary = "AssetTag", | |||
key = "AssetTag", | |||
}, | |||
} | |||
], | |||
memorySize = 1771626496, | |||
cpuModel = "Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz", | |||
cpuMhz = 2407, | |||
numCpuPkgs = 2, | |||
numCpuCores = 2, | |||
numCpuThreads = 2, | |||
numNics = 1, | |||
numHBAs = 3, | |||
}, | |||
runtime = (vim.host.RuntimeInfo) { | |||
dynamicType = <unset>, | |||
connectionState = "connected", | |||
powerState = "poweredOn", | |||
inMaintenanceMode = false, | |||
bootTime = "2008-11-24T23:10:41.665567Z", | |||
healthSystemRuntime = (vim.host.HealthStatusSystem.Runtime) { | |||
dynamicType = <unset>, | |||
systemHealthInfo = (vim.host.SystemHealthInfo) { | |||
dynamicType = <unset>, | |||
numericSensorInfo = (vim.host.NumericSensorInfo) [ | |||
(vim.host.NumericSensorInfo) { | |||
dynamicType = <unset>, | |||
name = "VMware Rollup Health State", | |||
healthState = (vim.ElementDescription) { | |||
dynamicType = <unset>, | |||
label = "Green", | |||
summary = "Green", | |||
key = "Green", | |||
}, | |||
currentReading = 0, | |||
unitModifier = 0, | |||
baseUnits = "", | |||
rateUnits = <unset>, | |||
sensorType = "system", | |||
}, | |||
(vim.host.NumericSensorInfo) { | |||
dynamicType = <unset>, | |||
name = "Phoenix Technologies LTD System BIOS 6.00 2008-07-29 00:00:00.000", | |||
healthState = (vim.ElementDescription) { | |||
dynamicType = <unset>, | |||
label = "Green", | |||
summary = "Green", | |||
key = "Green", | |||
}, | |||
currentReading = 0, | |||
unitModifier = 0, | |||
baseUnits = "", | |||
rateUnits = <unset>, | |||
sensorType = "Software Components", | |||
}, | |||
(vim.host.NumericSensorInfo) { | |||
dynamicType = <unset>, | |||
name = "VMware Inc. Hypervisor VMware ESX Server 3i 3.5.0 build-123629 2008-10-15 21:03:57.000", | |||
healthState = (vim.ElementDescription) { | |||
dynamicType = <unset>, | |||
label = "Green", | |||
summary = "Green", | |||
key = "Green", | |||
}, | |||
currentReading = 0, | |||
unitModifier = 0, | |||
baseUnits = "", | |||
rateUnits = <unset>, | |||
sensorType = "Software Components", | |||
} | |||
], | |||
}, | |||
hardwareStatusInfo = (vim.host.HardwareStatusInfo) { | |||
dynamicType = <unset>, | |||
memoryStatusInfo = (vim.host.HardwareStatusInfo.HardwareElementInfo) [ | |||
(vim.host.HardwareStatusInfo.HardwareElementInfo) { | |||
dynamicType = <unset>, | |||
name = "Memory", | |||
status = (vim.ElementDescription) { | |||
dynamicType = <unset>, | |||
label = "Green", | |||
summary = "Physical element is functioning as expected", | |||
key = "Green", | |||
}, | |||
} | |||
], | |||
cpuStatusInfo = (vim.host.HardwareStatusInfo.HardwareElementInfo) [ | |||
(vim.host.HardwareStatusInfo.HardwareElementInfo) { | |||
dynamicType = <unset>, | |||
name = "CPU socket #0", | |||
status = (vim.ElementDescription) { | |||
dynamicType = <unset>, | |||
label = "Green", | |||
summary = "Physical element is functioning as expected", | |||
key = "Green", | |||
}, | |||
}, | |||
(vim.host.HardwareStatusInfo.HardwareElementInfo) { | |||
dynamicType = <unset>, | |||
name = "CPU socket #1", | |||
status = (vim.ElementDescription) { | |||
dynamicType = <unset>, | |||
label = "Green", | |||
summary = "Physical element is functioning as expected", | |||
key = "Green", | |||
}, | |||
} | |||
], | |||
}, | |||
}, | |||
}, | |||
config = (vim.host.Summary.ConfigSummary) { | |||
dynamicType = <unset>, | |||
name = "localhost.example.com", | |||
port = 902, | |||
product = (vim.AboutInfo) { | |||
dynamicType = <unset>, | |||
name = "VMware ESX Server 3i", | |||
fullName = "VMware ESX Server 3i 3.5.0 build-123629", | |||
vendor = "VMware, Inc.", | |||
version = "3.5.0", | |||
build = "123629", | |||
localeVersion = "INTL", | |||
localeBuild = "000", | |||
osType = "vmnix-x86", | |||
productLineId = "embeddedEsx", | |||
apiType = "HostAgent", | |||
apiVersion = "2.5u2", | |||
}, | |||
vmotionEnabled = false, | |||
}, | |||
quickStats = (vim.host.Summary.QuickStats) { | |||
dynamicType = <unset>, | |||
overallCpuUsage = 579, | |||
overallMemoryUsage = 356, | |||
distributedCpuFairness = <unset>, | |||
distributedMemoryFairness = <unset>, | |||
}, | |||
overallStatus = "gray", | |||
rebootRequired = false, | |||
managementServerIp = <unset>, | |||
} | |||
[[Category: Vimsh]] | [[Category: Vimsh]] |