6.0.1

Table Of Contents
Subcommands for the stat Command
You can use the vmware-toolbox-cmd help stat command to display information such as host time and
CPU speed. Additional subcommands are available for virtual machines in a vSphere environment.
Table 114. 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
Displays the amount of memory that is currently reclaimed
from the virtual machine through ballooning, in
megabytes.
swap
Displays the current amount of memory swapped out to
the virtual machine's swap file, in megabytes.
memlimit
Displays memory limit information, in megabytes.
memres
Displays memory reservation information, in megabytes.
cpures
Displays CPU reservation information, in MHz.
cpulimit
Displays CPU limit information, in MHz.
sessionid
Displays the current session ID.
Table 115. Subcommands for the stat Command
Subcommand Name Description
hosttime
Displays the date and time on the host.
speed
Displays the CPU speed, in MHz.
Exit Codes for the VMware Tools Configuration Utility
You can use exit codes to integrate the VMware Tools configuration utility commands with a scripting tool.
Table 116. 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).
75
stat
The host does not support the query, perhaps because the
host is not an ESX/ESXi host (EX_TEMPFAIL).
77 All commands Permission errors.
Chapter 11 VMware Tools Components, Configuration Options, and Security Requirements
VMware, Inc. 223