GuestInfo 변수를 사용하여 정보 쿼리

'guestinfo' 변수를 사용하여 버전 설명, 버전 문자열, 빌드 번호 등의 정보를 쿼리할 수 있습니다.
다음 표에는 정보를 쿼리하기 위한 'guestinfo' 변수가 나열되어 있습니다.
VMware Tools ‘guestinfo’ 변수
명령
설명
Windows 게스트:
vmtoolsd --cmd "info-get guestinfo.vmtools.description"
rpctool.exe "info-get guestinfo.vmtools.description"
Linux 게스트:
vmtoolsd --cmd "info-get guestinfo.vmtools.description"
vmware-rpctool "info-get guestinfo.vmtools.description"
버전 설명을 보고합니다.
Windows 게스트:
vmtoolsd --cmd "info-get guestinfo.vmtools.versionString"
rpctool.exe "info-get guestinfo.vmtools.versionString"
Linux 게스트:
vmtoolsd --cmd "info-get guestinfo.vmtools.versionString"
vmware-rpctool "info-get guestinfo.vmtools.versionString"
버전 문자열을 보고합니다.
Windows 게스트:
vmtoolsd --cmd "info-get guestinfo.vmtools.versionNumber"
rpctool.exe "info-get guestinfo.vmtools.versionNumber"
Linux 게스트:
vmtoolsd --cmd "info-get guestinfo.vmtools.versionNumber"
vmware-rpctool "info-get guestinfo.vmtools.versionNumber"
버전 번호를 보고합니다.
Windows 게스트:
vmtoolsd --cmd "info-get guestinfo.vmtools.buildNumber"
rpctool.exe "info-get guestinfo.vmtools.buildNumber"
Linux 게스트:
vmtoolsd --cmd "info-get guestinfo.vmtools.buildNumber"
vmware-rpctool "info-get guestinfo.vmtools.buildNumber"
빌드 번호를 보고합니다.
Windows 게스트:
vmtoolsd --cmd "info-get guestinfo.toolsInstallErrCode"
rpctool.exe "info-get guestinfo.toolsInstallErrCode"
Linux 게스트:
vmtoolsd --cmd "info-get guestinfo.toolsInstallErrCode"
vmware-rpctool "info-get guestinfo.toolsInstallErrCode"
마지막 VMware Tools 설치의 오류 코드를 보고합니다.
Windows에서 VMware Tools를 설치 및 업그레이드하려면 종종 변경 내용 적용을 위해 게스트 운영 체제를 재부팅해야 합니다. 재부팅이 필요하지만 발생하지 않은 경우 guestinfo 변수
guestinfo.toolsInstallErrCode
는 3010으로 설정됩니다.
Windows 게스트:
vmtoolsd --cmd "info-get guestinfo.driver.[driver name].version"
rpctool.exe "info-get guestinfo.driver.[driver name].version"
Linux 게스트:
vmtoolsd --cmd "info-get guestinfo.driver.[driver name].version"
vmware-rpctool "info-get guestinfo.driver.[driver name].version"
실행 중인 드라이버의 버전을 보고합니다.
예를 들면 다음과 같습니다.
vmtoolsd --cmd "info-get guestinfo.driver.pvscsi.version"
1.3.10.0
을 반환합니다.
Windows 게스트:
vmtoolsd --cmd "info-get guestinfo.ip"
rpctool.exe "info-get guestinfo.ip"
Linux 게스트:
vmtoolsd --cmd "info-get guestinfo.ip"
vmware-rpctool "info-get guestinfo.ip"
게스트 OS의 IP 주소를 보고합니다.
Windows 게스트:
vmtoolsd --cmd "info-get guestinfo.appInfo"
rpctool.exe "info-get guestinfo.appInfo"
Linux 게스트:
vmtoolsd --cmd "info-get guestinfo.appInfo"
vmware-rpctool "info-get guestinfo.appInfo"
게스트 내에서 실행 중인 애플리케이션에 대한 정보를 보고합니다.
사용자 지정된 변수의 경우 다음 명령을 사용할 수 있습니다.
vmtoolsd --cmd "info-set guestinfo.foo bar