Command Line Interface
The command name varies with each of the three OS types available, but all three have a -v option to show the VMware Tools version number.
Linux: vmware-toolbox-cmd stat raw <encoding> <stat> Mac: vmware-tools-cli stat raw <encoding> <stat> Windows: VMwareToolboxCmd.exe stat raw <encoding> <stat>
These commands are provided for debugging and scripting; the implementation is a wrapper on top of the VMGuestLib_StatGet() call described above.