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 1. 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.