virtualbox+vagrant学习-2(command cli)-20-vagrant suspend命令
生活随笔
收集整理的这篇文章主要介绍了
virtualbox+vagrant学习-2(command cli)-20-vagrant suspend命令
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
Suspend
格式:
vagrant suspend [options] [name|id]这个suspend命令将挂起vagrant正在管理的客户机,而不是完全关闭或摧毁它。
挂起有效地保存了计算机的精确时间点状态,因此当你稍后恢复它时,它将立即从该点开始运行,而不是进行完全启动。
这通常需要额外的磁盘空间来在客户机中存储RAM的所有内容,但是机器在挂起时不再消耗主机的RAM或CPU周期。
userdeMacBook-Pro:~ user$ vagrant suspend -h Usage: vagrant suspend [options] [name|id]-a, --all-global Suspend all running vms globally. 挂起所有全局运行的虚拟机-h, --help Print this help 打印帮助信息例子:
wanghuideMacBook-Pro:~ wanghui$ vagrant suspend ==> default: Saving VM state and suspending execution...然后可见在virtualBox中的虚拟机进入了休眠状态:
转载于:https://www.cnblogs.com/wanghui-garcia/p/10170589.html
总结
以上是生活随笔为你收集整理的virtualbox+vagrant学习-2(command cli)-20-vagrant suspend命令的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 企业级java springboot b
- 下一篇: js 实现上下拖动改变父 div 的高度