Wednesday, March 28, 2012

The power of the esxcli command in Esxi 5

The esxcli continues go grow as new versions of esxi and vsphere are introduced.
This command can be executed inside the esxi host (via ssh or the esxi shell) or remotely
using the vcli by adding the --server flag.

Here are some examples of the power of this command:

1. List how many nfs mounts exist.

# esxcli storage nfs list

2. Get information about fcoe adapters and cards

# esxcli fcoe nic list
# esxcli fcoe adapter list

3. Get information about installed packages

# esxcli software vib list

4. Find out how much memory exist on your esxi server

# esxcli hardware memory get

5. Find out how many cpus exist on your esxi server

# esxcli hardware cpu list

6. Find out the name of your iscsi adapter

# esxli iscsi adapter list

7. Find out how many physical nics exist

# esxcli network nic list

8. Find out the state of your firewall

# esxcli network firewall get
# esxcli network firewall ruleset list

9. Find out information about your vmfs file systems

# esxcli storage vmfs extent list

10. Find out the version of esxi

# esxcli system version list

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.