Use the esxcli command of linux to query virtual machine information
Editor to share with you the use of linux's esxcli command to query virtual machine information, I hope you can learn a lot after reading this article, let's discuss it together!
The esxcli command has a wide range of uses, and we cannot simply classify it as a single command. Esxcli includes many different namespaces that allow you to control almost all the devices provided by ESXi.
Syntax format: esxcli [Namespace] [Parameter]
Common parameters:
Reference example
Get CPU information (series, model, and cache):
Root@linuxcool:~# esxcli hardware cpu list
Get memory information (available memory and non-uniform memory access):
Root@linuxcool:~# esxcli hardware memory get
To enable / disable software iSCSI initiator:
Root@linuxcool:~# esxcli iscsi software
Used to set discovery, CHAP, and other settings for hardware and software iSCSI adapters:
Root@linuxcool:~# esxcli iscsi adapter
List and modify Nic information, such as name, wake-up Nic, and speed:
Root@linuxcool:~# esxcli network nic has finished reading this article, I believe you have a certain understanding of using linux's esxcli command to query virtual machine information, want to know more about it, welcome to follow the industry information channel, thank you for reading!