Useful VMware Commands
Restart management services: | Service mgmt-vmware restart |
Find DNS servers: | Cat /etc/resolv.conf |
Check ESX version: | esxupdate query |
Restart vmware management: | service vmware-vpxa restart service mgmt- vmware restart |
vdf –h | view partion info (disk space etc) |
ls –larth | list files in a directory in by GB, MB (easy to see file sizes) |
ls –larth *delta* | as above but only show files with “delta” in the name |
List registered VMs: | vmware-cmd –l (gives machine id) |
Check if VM powered on (e.g.): | vmware-cmd /vmfs/volumes/4a006885-0aed81dd-0cdc-002219b72e1d/Exchange01/Exchange01.vmx getstate |
Check if VM powered on (e.g.): | Type ifconfig to check the current IP address. esxcfg-vswif -i x.x.x.x vswif0 Example esxcfg-vswif -i 10.0.1.3 vswif0 |
Check jumbo frames are working | Vmkping –s 9000 |
ifconfig | Display IP information |
Please Click any of the following link
0 Comment to "Useful VMware Commands"
Post a Comment