6.0
Table Of Contents
- Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
VMware, Inc. 19
Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
-
esxcfg-info
NocomprehensivesetofequivalentESXCLIcommandscorrespondingtoesxcfg-infoisavailableyet.The
followingcommandsareofferingsomeoftheesxcfg-infocapability.
Table 10. esxcfg-dumppart Replacement Commands
esxcfg-dumppart Option ESXCLI Command Description
-l | --list system coredump partition list ListallpartitionsontheESXisystem
thathavetheappropriatepartition
typetoactasadiagnosticpartition.
Important:Executionmighttake
severalminutesandslowdownyour
ESXihostbecausethecommandscans
allLUNsonthesystem.
-t | --get-active system coredump partition get Displaytheactivediagnosticpartition
forthissystem.
RunningtheESXCLI
commandreturnstheactive
configuredpartition.
Ifanactivepartitionexists,the
commandreturnsthenaanumberof
theLUNandthecorresponding
partition,intheformat naa.xx...:p.
-c | --get-config system coredump partition get Gettheconfigureddiagnosticpartition
forthesystem.
-S | --smart-activate system coredump partition set
--smart --enable= true
Runthesmartactivatealgorithmto
activatetheconfigureddump
partition,
orifnopartitionis
configured,selectthebestpossible
candidatebasedonthemediaofthe
availabledumppartitions.
-a | --activate system coredump partition set
--enable=true
Makethespecifiedpartitionthe
currentdiagnosticpartition.
-d | --deactivate system coredump partition set
--enable=false
Deactivatetheactivediagnostic
partitionordeactivateESXiDump
Collector.
C
AUTION:Ifyourunthiscommand,
yoursystemcannotwriteerrorstoa
fileuntilanotherpartitionisactivated.
Youloseanyerrorrecordiferrors
occur.
-s <naa.xx:1> | --set
<naa.xxxxxxxx:1>
system coredump partition set
--partition xxx.xxx
Setandactivatethediagnostic
partition.Specifythepartitionusing
naa.xxx:1oreui.xxxsyntax.
-C | --copy [-n |
--newonly] [-z |
--zdumpname] [-o |
--slot]
Nocorresponding
ESXCLIcommand.
-L --log Nocorresponding
ESXCLIcommand.
Table 11. ESXCLI Information Retrieval Commands
Command Description
hardware bootdevice list Listthebootdeviceorderforthishost,ifavailable.
hardware clock get Displaythecurrenthardwareclocktime.
hardware cpu cpuid get GetinformationfromtheCPUIDinstructiononeach
CPUonthishost.
harware cpu cpuid get --cpu=<n> GetinformationfromtheCPUIDinstructiononCPU
number<n>.










