Hostsvc/hosthardware: Difference between revisions
Jump to navigation
Jump to search
added example output |
mNo edit summary |
||
Line 6: | Line 6: | ||
==== example output ==== | ==== example output ==== | ||
# vmware-vim-cmd -H 10.10.10.10 -U root -P password hostsvc/hosthardware | # vmware-vim-cmd -H 10.10.10.10 -U root -P password hostsvc/hosthardware | ||
(vim.host.HardwareInfo) { | (vim.host.HardwareInfo) { | ||
dynamicType = <unset>, | dynamicType = <unset>, | ||
systemInfo = (vim.host.SystemInfo) { | systemInfo = (vim.host.SystemInfo) { |
Revision as of 05:49, 29 December 2008
Vimsh Hostsvc/hosthardware
Usage: hosthardware
Retrieves the host hardware information.
example output
# vmware-vim-cmd -H 10.10.10.10 -U root -P password hostsvc/hosthardware (vim.host.HardwareInfo) { dynamicType = <unset>, systemInfo = (vim.host.SystemInfo) { 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", }, } ], }, cpuInfo = (vim.host.CpuInfo) { dynamicType = <unset>, numCpuPackages = 2, numCpuCores = 2, numCpuThreads = 2, hz = 2407469482, }, cpuPkg = (vim.host.CpuPackage) [ (vim.host.CpuPackage) { dynamicType = <unset>, index = 0, vendor = "intel", hz = 2407469482, busHz = 65958068, description = "Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz", threadId = (short) [ 0 ], cpuFeature = (vim.host.CpuIdInfo) [ (vim.host.CpuIdInfo) { dynamicType = <unset>, level = 0, vendor = <unset>, eax = "0000:0000:0000:0000:0000:0000:0000:1010", ebx = "0111:0101:0110:1110:0110:0101:0100:0111", ecx = "0110:1100:0110:0101:0111:0100:0110:1110", edx = "0100:1001:0110:0101:0110:1110:0110:1001", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = 1, vendor = <unset>, eax = "0000:0000:0000:0000:0000:0110:1111:1011", ebx = "0000:0000:0000:0001:0000:1000:0000:0000", ecx = "1000:0000:0000:0000:0010:0010:0000:0001", edx = "0000:1111:1110:1011:1111:1011:1111:1111", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = -2147483648, vendor = <unset>, eax = "1000:0000:0000:0000:0000:0000:0000:1000", ebx = "0000:0000:0000:0000:0000:0000:0000:0000", ecx = "0000:0000:0000:0000:0000:0000:0000:0000", edx = "0000:0000:0000:0000:0000:0000:0000:0000", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = -2147483647, vendor = <unset>, eax = "0000:0000:0000:0000:0000:0000:0000:0000", ebx = "0000:0000:0000:0000:0000:0000:0000:0000", ecx = "0000:0000:0000:0000:0000:0000:0000:0001", edx = "0010:0000:0001:0000:0000:0000:0000:0000", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = -2147483640, vendor = <unset>, eax = "0000:0000:0000:0000:0011:0000:0010:1000", ebx = "0000:0000:0000:0000:0000:0000:0000:0000", ecx = "0000:0000:0000:0000:0000:0000:0000:0000", edx = "0000:0000:0000:0000:0000:0000:0000:0000", } ], }, (vim.host.CpuPackage) { dynamicType = <unset>, index = 1, vendor = "intel", hz = 2407469482, busHz = 65958068, description = "Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz", threadId = (short) [ 1 ], cpuFeature = (vim.host.CpuIdInfo) [ (vim.host.CpuIdInfo) { dynamicType = <unset>, level = 0, vendor = <unset>, eax = "0000:0000:0000:0000:0000:0000:0000:1010", ebx = "0111:0101:0110:1110:0110:0101:0100:0111", ecx = "0110:1100:0110:0101:0111:0100:0110:1110", edx = "0100:1001:0110:0101:0110:1110:0110:1001", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = 1, vendor = <unset>, eax = "0000:0000:0000:0000:0000:0110:1111:1011", ebx = "0000:0010:0000:0001:0000:1000:0000:0000", ecx = "1000:0000:0000:0000:0010:0010:0000:0001", edx = "0000:1111:1110:1011:1111:1011:1111:1111", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = -2147483648, vendor = <unset>, eax = "1000:0000:0000:0000:0000:0000:0000:1000", ebx = "0000:0000:0000:0000:0000:0000:0000:0000", ecx = "0000:0000:0000:0000:0000:0000:0000:0000", edx = "0000:0000:0000:0000:0000:0000:0000:0000", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = -2147483647, vendor = <unset>, eax = "0000:0000:0000:0000:0000:0000:0000:0000", ebx = "0000:0000:0000:0000:0000:0000:0000:0000", ecx = "0000:0000:0000:0000:0000:0000:0000:0001", edx = "0010:0000:0001:0000:0000:0000:0000:0000", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = -2147483640, vendor = <unset>, eax = "0000:0000:0000:0000:0011:0000:0010:1000", ebx = "0000:0000:0000:0000:0000:0000:0000:0000", ecx = "0000:0000:0000:0000:0000:0000:0000:0000", edx = "0000:0000:0000:0000:0000:0000:0000:0000", } ], } ], memorySize = 1771626496, numaInfo = (vim.host.NumaInfo) { dynamicType = <unset>, type = "Fake Numa", numNodes = 1, numaNode = (vim.host.NumaNode) [ (vim.host.NumaNode) { dynamicType = <unset>, typeId = 0, cpuID = (short) [ 1, 0 ], memoryRangeBegin = 0, memoryRangeLength = 1879048192, } ], }, pciDevice = (vim.host.PciDevice) [ (vim.host.PciDevice) { dynamicType = <unset>, id = "00:00.0", classId = 1536, bus = 0, slot = 0, function = 0, vendorId = -32634, subVendorId = 5549, vendorName = "Intel Corporation", deviceId = 29072, subDeviceId = 6518, deviceName = "440BX/ZX/DX - 82443BX/ZX/DX Host bridge", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:01.0", classId = 1540, bus = 0, slot = 1, function = 0, vendorId = -32634, subVendorId = 0, vendorName = "Intel Corporation", deviceId = 29073, subDeviceId = 0, deviceName = "440BX/ZX/DX - 82443BX/ZX/DX AGP bridge", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:07.0", classId = 1537, bus = 0, slot = 7, function = 0, vendorId = -32634, subVendorId = 5549, vendorName = "Intel Corporation", deviceId = 28944, subDeviceId = 6518, deviceName = "82371AB/EB/MB PIIX4 ISA", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:07.1", classId = 257, bus = 0, slot = 7, function = 1, vendorId = -32634, subVendorId = 5549, vendorName = "Intel Corporation", deviceId = 28945, subDeviceId = 6518, deviceName = "82371AB/EB/MB PIIX4 IDE", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:07.3", classId = 1664, bus = 0, slot = 7, function = 3, vendorId = -32634, subVendorId = 5549, vendorName = "Intel Corporation", deviceId = 28947, subDeviceId = 6518, deviceName = "82371AB/EB/MB PIIX4 ACPI", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:07.7", classId = 2176, bus = 0, slot = 7, function = 7, vendorId = 5549, subVendorId = 5549, vendorName = "VMWare Inc", deviceId = 1856, subDeviceId = 1856, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:0f.0", classId = 768, bus = 0, slot = 15, function = 0, vendorId = 5549, subVendorId = 5549, vendorName = "VMWare Inc", deviceId = 1029, subDeviceId = 1029, deviceName = "Virtual SVGA", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:10.0", classId = 256, bus = 0, slot = 16, function = 0, vendorId = 4096, subVendorId = 5549, vendorName = "LSI Logic / Symbios Logic", deviceId = 48, subDeviceId = 6518, deviceName = "53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:11.0", classId = 1540, bus = 0, slot = 17, function = 0, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1936, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:15.0", classId = 1540, bus = 0, slot = 21, function = 0, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:15.1", classId = 1540, bus = 0, slot = 21, function = 1, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:15.2", classId = 1540, bus = 0, slot = 21, function = 2, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:15.3", classId = 1540, bus = 0, slot = 21, function = 3, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:15.4", classId = 1540, bus = 0, slot = 21, function = 4, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:15.5", classId = 1540, bus = 0, slot = 21, function = 5, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:15.6", classId = 1540, bus = 0, slot = 21, function = 6, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:15.7", classId = 1540, bus = 0, slot = 21, function = 7, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:16.0", classId = 1540, bus = 0, slot = 22, function = 0, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:16.1", classId = 1540, bus = 0, slot = 22, function = 1, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:16.2", classId = 1540, bus = 0, slot = 22, function = 2, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:16.3", classId = 1540, bus = 0, slot = 22, function = 3, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:16.4", classId = 1540, bus = 0, slot = 22, function = 4, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:16.5", classId = 1540, bus = 0, slot = 22, function = 5, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:16.6", classId = 1540, bus = 0, slot = 22, function = 6, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:16.7", classId = 1540, bus = 0, slot = 22, function = 7, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:17.0", classId = 1540, bus = 0, slot = 23, function = 0, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:17.1", classId = 1540, bus = 0, slot = 23, function = 1, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:17.2", classId = 1540, bus = 0, slot = 23, function = 2, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:17.3", classId = 1540, bus = 0, slot = 23, function = 3, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:17.4", classId = 1540, bus = 0, slot = 23, function = 4, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:17.5", classId = 1540, bus = 0, slot = 23, function = 5, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:17.6", classId = 1540, bus = 0, slot = 23, function = 6, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:17.7", classId = 1540, bus = 0, slot = 23, function = 7, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:18.0", classId = 1540, bus = 0, slot = 24, function = 0, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:18.1", classId = 1540, bus = 0, slot = 24, function = 1, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:18.2", classId = 1540, bus = 0, slot = 24, function = 2, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:18.3", classId = 1540, bus = 0, slot = 24, function = 3, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:18.4", classId = 1540, bus = 0, slot = 24, function = 4, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:18.5", classId = 1540, bus = 0, slot = 24, function = 5, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:18.6", classId = 1540, bus = 0, slot = 24, function = 6, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "00:18.7", classId = 1540, bus = 0, slot = 24, function = 7, vendorId = 5549, subVendorId = 0, vendorName = "VMWare Inc", deviceId = 1952, subDeviceId = 0, deviceName = "Unknown", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "02:00.0", classId = 512, bus = 2, slot = 0, function = 0, vendorId = -32634, subVendorId = 5549, vendorName = "Intel Corporation", deviceId = 4111, subDeviceId = 1872, deviceName = "82545EM Gigabit Ethernet Controller (Copper)", }, (vim.host.PciDevice) { dynamicType = <unset>, id = "02:01.0", classId = 512, bus = 2, slot = 1, function = 0, vendorId = 4130, subVendorId = 4130, vendorName = "Advanced Micro Devices [AMD]", deviceId = 8192, subDeviceId = 8192, deviceName = "NetFinity 10/100 Fast Ethernet", } ], cpuFeature = (vim.host.CpuIdInfo) [ (vim.host.CpuIdInfo) { dynamicType = <unset>, level = 0, vendor = <unset>, eax = "0000:0000:0000:0000:0000:0000:0000:1010", ebx = "0111:0101:0110:1110:0110:0101:0100:0111", ecx = "0110:1100:0110:0101:0111:0100:0110:1110", edx = "0100:1001:0110:0101:0110:1110:0110:1001", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = 1, vendor = <unset>, eax = "0000:0000:0000:0000:0000:0110:1111:1011", ebx = "0000:0000:0000:0001:0000:1000:0000:0000", ecx = "1000:0000:0000:0000:0010:0010:0000:0001", edx = "0000:1111:1110:1011:1111:1011:1111:1111", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = -2147483648, vendor = <unset>, eax = "1000:0000:0000:0000:0000:0000:0000:1000", ebx = "0000:0000:0000:0000:0000:0000:0000:0000", ecx = "0000:0000:0000:0000:0000:0000:0000:0000", edx = "0000:0000:0000:0000:0000:0000:0000:0000", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = -2147483647, vendor = <unset>, eax = "0000:0000:0000:0000:0000:0000:0000:0000", ebx = "0000:0000:0000:0000:0000:0000:0000:0000", ecx = "0000:0000:0000:0000:0000:0000:0000:0001", edx = "0000:0000:0001:0000:0000:0000:0000:0000", }, (vim.host.CpuIdInfo) { dynamicType = <unset>, level = -2147483640, vendor = <unset>, eax = "0000:0000:0000:0000:0011:0000:0010:1000", ebx = "0000:0000:0000:0000:0000:0000:0000:0000", ecx = "0000:0000:0000:0000:0000:0000:0000:0000", edx = "0000:0000:0000:0000:0000:0000:0000:0000", } ], biosInfo = (vim.host.BIOSInfo) { dynamicType = <unset>, biosVersion = "6.00", releaseDate = "2008-07-29T00:00:00Z", }, }