在VmWare命令行上,我可以使用halt命令关闭该框
~ # halt --help
BusyBox v1.9.1-VMware-visor-6030 (2011-02-15 14:57:41 PST) multi-call binary
Usage: halt [-d delay] [-n] [-f]
Halt the system
Options:
-d Delay interval for halting
-n No call to sync()
-f Force halt (don't go through init)延迟是以分钟为单位(如linux关机)还是以秒为单位?我在文档中找不到这个,我试着在googling上搜索,没有找到答案。我手头没有多余的vmware盒,可以自己试用。
(我找到了http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1013193,也找到了PDF格式的http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-command-line-management-for-service-console-users.pdflanguage=en_US&cmd=displayKC&externalId=1013193,但在它们中没有找到答案)
发布于 2013-04-07 11:18:48
百忙箱停止运行的当前源代码表示延迟以秒为单位。如果您想显式地测试它,您可以在延迟300的情况下运行,如果系统在5分钟后没有停止,您知道它是以分钟而不是秒为单位的。
https://serverfault.com/questions/496988
复制相似问题