VMware 571779-B21 User Guide - Page 7

Using the VMware Tools Configuration Utility - cli

Page 7 highlights

Using the VMware Tools Configuration Utility The VMware Tools configuration utility is a command-line interface you can use in the guest operating system to modify VMware Tools settings, shrink virtual disks, and connect and disconnect virtual devices. The VMware Tools configuration utility provides a command-line interface for functionality that was previously available only in the VMware Tools control panel. This program is called VMwareToolboxCmd.exe in Windows guests, vmware-tools-cli in Mac guests, and vmware-toolbox-cmd in Linux, FreeBSD, and Solaris guests. Use its help command to display complete usage information and syntax. The VMware Tools configuration utility is included in the following VMware products for this release: n VMware ESX/ESXi 4.1 and later n VMware Workstation 7.0 and later n VMware Fusion 3.0 and later n VMware Player 3.0 and later n VMware ACE 2.6 and later You can use this utility in the guest operating system to perform several tasks. n Configure Time Synchronization Between Guest and Host on page 8 When you turn on periodic time synchronization, VMware Tools sets the time of the guest operating system to be the same as the time of the host. After that, VMware Tools checks once every minute to determine whether the clocks on the guest and host still match. If not, the clock on the guest is synchronized to match the clock on the host. n Connect or Disconnect a Virtual Device on page 10 You can connect and disconnect removable devices such as floppy drives, DVD/CD-ROM drives, ISO images, USB devices, sound adapters, and network adapters. n Shrink a Virtual Disk on page 12 Shrinking a virtual disk reclaims unused space in the virtual disk and reduces the amount of space the virtual disk occupies on the host. n Use Custom VMware Tools Scripts on page 14 You can use scripts to automate guest operating system operations when you change the power state of a virtual machine. You can also edit default scripts or associate custom scripts with power operations. n Retrieve Status Information About the Virtual Machine on page 17 You can display information about host time and CPU speed. For virtual machines hosted on ESX, ESXi servers, you can display additional information about memory and CPU reservations and limits. VMware, Inc. 7

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22

Using the VMware Tools Configuration Utility
The VMware Tools configuration utility is a command-line interface you can use in the guest operating system
to modify VMware Tools settings, shrink virtual disks, and connect and disconnect virtual devices.
The VMware Tools configuration utility provides a command-line interface for functionality that was
previously available only in the VMware Tools control panel. This program is called
VMwareToolboxCmd.exe
in
Windows guests,
vmware-tools-cli
in Mac guests, and
vmware-toolbox-cmd
in Linux, FreeBSD, and Solaris
guests. Use its
help
command to display complete usage information and syntax.
The VMware Tools configuration utility is included in the following VMware products for this release:
n
VMware ESX/ESXi 4.1 and later
n
VMware Workstation 7.0 and later
n
VMware Fusion 3.0 and later
n
VMware Player 3.0 and later
n
VMware ACE 2.6 and later
You can use this utility in the guest operating system to perform several tasks.
n
Configure Time Synchronization Between Guest and Host
on page 8
When you turn on periodic time synchronization, VMware Tools sets the time of the guest operating
system to be the same as the time of the host. After that, VMware Tools checks once every minute to
determine whether the clocks on the guest and host still match. If not, the clock on the guest is
synchronized to match the clock on the host.
n
Connect or Disconnect a Virtual Device
on page 10
You can connect and disconnect removable devices such as floppy drives, DVD/CD-ROM drives, ISO
images, USB devices, sound adapters, and network adapters.
n
Shrink a Virtual Disk
on page 12
Shrinking a virtual disk reclaims unused space in the virtual disk and reduces the amount of space the
virtual disk occupies on the host.
n
Use Custom VMware Tools Scripts
on page 14
You can use scripts to automate guest operating system operations when you change the power state of
a virtual machine. You can also edit default scripts or associate custom scripts with power operations.
n
Retrieve Status Information About the Virtual Machine
on page 17
You can display information about host time and CPU speed. For virtual machines hosted on ESX, ESXi
servers, you can display additional information about memory and CPU reservations and limits.
VMware, Inc.
7