VMware Arena

Service Console Commands:Basic How to’s for ESX

How to find out the ESX server Version you are running with ?

vmware -v


How to find the ESX server IP address?

hostnamei

How to find the default gateway of ESX server?

cat /etc/sysconfig/network


How to find ESX server hardware information ?

dmidecode | more


How to find ESX server Serial Number?

dmidecode | grep “Serial Number”

How to find ESX server Installed Memory ?

cat /proc/meminfo | grep MachineMem


How to find last reboot and shutdown date& time ?
last

How to find the list of patches installed on your ESX server?
esxupdate query

How to create log file bundles from ESX/ESXi  hosts ?
vm-support

How to find out the list of softwares installed on ESX host?

rpm -q -a

How to find the list of configured NTP servers and delay?

ntpq -p

How to find the current configured firewall rules in ESX?

esxcfg-firewall -q


How to find the basic partition information of ESX?

vdf -h

How to find the  current password policy for ESX?

esxcfgauth -p

How to find the list of users created in ESX?

cat /etc/passwd

How to find the list of virtual machines running on the ESX host?

vmwarecmd -s listvms

How to find the list of added static routes in ESX host?

route

How to find the port status in ESX host ?

netstat -an

How to find the list of datastores in the ESX host?

cd /vmfs/volumes and type ls -l

Thanks for Reading!!!!

Exit mobile version