Workstation User’s Manual
132 VMware, Inc.
Use the VMware Tools Service Command-Line Interface
TheVMwareToolscommand‐lineinterfaceenablesyoutodothefollowing:
ConfiguretimesynchronizationinyourLinuxguestoperatingsystemwithout
runningX.
UpgradeanduninstallVMwareTools,determinetheversion,andsoon.
To use the VMware Tools command-line interface
1Ontheguestoperatingsystem,changedirectoriestothedirectorythatcontainsthe
VMwareToolsdaemon.
Dependingontheoperatingsystem,thenameanddefaultlocationofthedaemon
areasfollows:
OnMicrosoftWindowssystems,thedaemoniscalledvmtoolsd.exeandthe
locationis:
C:\Program Files\VMware\VMware Tools\vmtoolsd.exe
OnLinux,Solaris,andFreeBSDsystems,thedaemoniscalledvmtoolsd. The
locationofvmtoolsddependsonthedirectoryyouspecifyatthetimeof
installation.Thedefaultlocationis:
/usr/sbin/vmtoolsd
2Toconfigureperiodictimesynchronization,usethevmx.set_optioncommand.
Usethefollowingsyntax:
<daemon> --cmd "vmx.set_option synctime <old_val> <new_val>"
<daemon>isvmtoolsdonLinux,Solaris,andFreeBSDsystemsorvmtoolsd.exe
onWindowssystems.
<old_val>and<new_val>aretheoldandnewvalues,respectively.Use0tomean
FALSEand1tomeanTRUE.
FollowingisanexampleofsettingtimesynchronizationtoTRUEonaLinuxguest:
./vmtoolsd --cmd "vmx.set_option synctime 0 1"
Thenewsettingiswrittentothetools.syncTimepropertyinthevirtual
machine’sconfiguration(.vmx)file.Usingthisoptionisequiv alenttousingthe
timesynchronizationoptionontheOptionstaboftheVMwareToolscontrol
panel.
3Tousecommandsotherthan--cmd,usethe--helpcommand‐linecommand.
Comentarios a estos manuales