Installing and Configuring

Table Of Contents
Option Action
utility-name (On Mac OS X)
Use vmware-tools-cli.
subcommand
Use hosttime or speed, or, if applicable, one of the subcommands available
for virtual machines hosted in a vSphere environment.
Subcommands for the stat Command
You can use the stat command to display information such as host time and CPU speed. Additional
subcommands are available for virtual machines in a vSphere environment.
Table 4-2. Subcommands for the stat Command
Subcommand Name Description
hosttime
Displays the date and time on the host.
speed
Displays the CPU speed, in MHz.
balloon
(vSphere only) Displays the amount of memory that is
currently reclaimed from the virtual machine through
ballooning, in megabytes.
swap
(vSphere only) Displays the current amount of memory
swapped out to the virtual machine's swap file, in
megabytes.
memlimit
(vSphere only) Displays memory limit information, in
megabytes.
memres
(vSphere only) Displays memory reservation information, in
megabytes.
cpures
(vSphere only) Displays CPU reservation information, in
MHz.
cpulimit
(vSphere only) Displays CPU limit information, in MHz.
sessionid
(vSphere only) Displays the current session ID.
Exit Codes
You might use exit codes if you want to integrate the VMware Tools configuration utility commands with a
scripting tool.
Table 4-3. Exit Codes
Code Number Applicable Command Description
0 All commands The command was successful.
1 All commands Always indicates that an error occurred.
For the shrink command, 1 indicates that although
shrinking is enabled, the shrink command cannot be carried
out.
64 All commands The command-line argument is not valid.
66
script
The file name does not exist.
69 device and stat For the device command, 69 indicates that the specified
device does not exist. Use the list subcommand to display
valid names of devices.
For the stat command, 69 indicates that the program could
not communicate with the host (EX_UNAVAILABLE).
Chapter 4 Using the VMware Tools Configuration Utility
VMware, Inc. 39