(1)查询所有虚拟机的相关信息:
vim-cmdvmsvc/getallvms
(2)通过虚拟机的vmid查看其状态:
vim-cmdvmsvc/power.getstate vmid
(3)强行关闭虚拟机电源:
vim-cmdvmsvc/power.off vmid
(4)正常关闭系统:
vim-cmdvmsvc/power.shutdown vmid#
(5)挂起虚拟机:
vim-cmdvmsvc/power.suspend vmid#
(6)休眠虚拟机:
vim-cmdvmsvc/power.hibernate vmid#
(7)重启虚拟机:
vim-cmd vmsvc/power.reboot
(8)恢复出厂设置
vim-cmdvmsvc/power.reset
(9)查阅详细的vmsvc命令:
vim-cmd vmsvc