Monday , September 18 2017
Home > ESXi 6.0 > ESXi Commands Part-5 : Finding VM information using esxcli

ESXi Commands Part-5 : Finding VM information using esxcli

In this series we will see on how you can easily get information using commands in ESXi & how you can manage the ESXi using esxcli command line. This is the fifth part where we will see some of the commands on finding information about the vm running on esxi . esxcli is the command line interface framework in vmware vsphere which provides modular architecture for the components “Namespace” running in VMkernel. esxcli is powerful command line interface which provides very helpful information. you don’t need to install any other software to run esxcli. esxcli can be directly run into the ESXi using Putty. Information you will find that can be very useful in the time of troubleshooting the esxi server issues.

In this post we will see on by using “esxcli vm” how we can get virtual machine information . You may find very useful commands in this post which you will be using on daily basis using GUI from vsphere client but you can also do it using esxcli command line if you don’t have the vsphere client.

There is an syntax of running the each command using the esxcli. In this post we will see on how we can use the command “esxcli vm” to find the vm information.

Syntax of the command is as follows:

esxcli vm {cmd} {cmd options}

esxcli vm is the command which you can run directly into ESXi without any option. But to get into deeper you will have to use the Namespaces with the command.
Where first {cmd} will be the any of the namespace available above & after you can use the available namespaces or available commands w.r.t get the information.

Command :
 esxcli vm

ESXI-Commands-5

Here you will find 1 namespace.
process : It will help you to do operations regarding running virutal machines on esxi. By using process command with esxcli vm you will get 2 commands.

kill : It will help you to kill the virtual machine forcefully which are not responding or stuck.
list : It will help you to get the list of virtual machines running on esxi with some of important information. you can check the below image for more.

ESXI-Commands-5-vm

It will help you to find the important information about virtual machine such as World ID, Process ID, VMX Cartel ID, UUID, Name & the Config file location.

You can also try this esxcli namespaces & commands to manage the esxi about server’s in your environment.

Checkout our Posts on ESXi Command Line Series:-

ESXi Commands Part-1 : Basic commands.

ESXi Commands Part-2: Finding Hardware information using esxcli

ESXi Commands Part-3 : Managing ESXi using esxcli commands

ESXi Commands Part-4 : Managing ESXi Networking using esxcli commands

ESXi Commands Part-6 : Managing Storage using esxcli

That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.

Join Our LinkedIn Group to get Updates & Discussions : Mastering VMware.
Checkout our Facebook Group for discussions & more.
You can also Like & Share our Facebook Page for Latest Updates.

About Mayur Parmar

Hi I am Mayur Parmar. Independent Author & Founder of Mastering VMware. I am working in IT industry for more than 2 Years with knowledge of VMware , Microsoft Server's, Linux Server's.

Check Also

drs-lens

VMware Fling: DRS Lens

DRS Lens is an fling from VMware which helps to monitor your vSphere DRS clusters. …

Leave a Reply

Your email address will not be published. Required fields are marked *

18 − fifteen =