Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the esxcli command of linux to query virtual machine information

Shulou Source: shulou.com Published: 2022-06-02 20:09:00 09月22日 Update

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!

Tags: Information commands memory queries parameters space articles network cards different individual name model finished instance commonly used more format purpose knowledge cache Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info NVidia MySQL Docker Microsoft