VMWare Commands Line Tools

ESXCFG Commands

esxcfg-advcfg – ‘-g’ to get settings ‘-s’ to set them.
esxcfg-auth – configures the service console authentication options including NIS, LDAP, Kerberos and Active Directory.
esxcfg-boot – configure the GRUB options
esxcfg-dumppart – configure crash dump partition
esxcfg-firewall – configure Firewall
esxcfg-info – whole lot of info about your server.
esxcfg-module – list and configure loadable modules
esxcfg-mpath – manages storage multi-pathing
esxcfg-nas – used to list, mount and dismount NFS exports for the VMkernel.
esxcfg-nics – configure network interfaces
esxcfg-rescan – rescan of a host bus adapter
esxcfg-resgrp – manage resource groups
esxcfg-route – routing information
esxcfg-swiscsi – configure iscsi (and use -q to see if iSCSI is running.)
esxcfg-vmhbadevs – list and maps the Linux device names for the visible disk devices that the VMkernel references.
esxcfg-vmknic – used to view and set configure the VMkernel ports on virtual Ethernet switches
esxcfg-vswif – service console (and only service console) network interface
esxcfg-vswitch – list and configure virtual switches

esxtop – top for ESX server.
findnic – locates a physical NIC in an ESX server by using pings. Each physical NIC in an ESX server that is allocated to the VMkernel does not necessarily have an IP. You give it one by `findnic -i 5 vmnic2 10.0.0.1 192.168.1.3`. This command would ping 192.168.1.3 every 5 seconds.
vmkfstools – a very easy way to ruin your week.
vmware-cmd – performs VM operations, such as power on and off or connect/disconnect devices. This tool always requires the full path to the configuration file of the VM you wish to manipulate. Documentation is sparse.
vpxa – VirtualCenter server agent. Can be started via services menu – service vmware-vpxa restart
vpxd – VirtualCenter process windows service
vdf – df for vmware
vm-support – collects configuration files and packages them for VMWare support.
vmware – add ESX and ESX SMP serial numbers, versions and patch levels
vmkpcidivy – used to divide up the RAM and physical PCI resources in a server between the service console and the VMkernel. Either operating system can be assigned a PCI card or the PCI card is shared between the two operating systems.
vmkchdev -L – list PCI devices and tells if they are assigned to the VMKernel or to the service console
vmware-serverd – This daemon runs on demand in the service console to provide information to any VMware service that needs it. This performs actions in the service console on behalf of the VMware Remote Console and the web based MUI. It is started at boot time to do any VM autostarts. This process is replaced with vmware-ccagent if VirtualCenter is installed.
vmware-ccagent – This daemon runs as the replacement for vmware-serverd that is installed when the server is managed by VirtualCenter. The vmware-ccagent process is automatically installed on an ESX host simply by adding the host to a VirtualCenter farm, i.e. the process upgrade is transparent to the VC administrator.
S91httpd.vmware – starts the apache web server on which the ESX Server MUI runs.
linux -s – lilo boot loader. Options are

esx – Normal ESX boot
linux – Linux SMP kernel, no VMkernel load
linux-up – Linux Uni-processor kernel, no VMkernel load