virtualbox+vagrant学习-2(command cli)-20-vagrant suspend命令
生活随笔
收集整理的這篇文章主要介紹了
virtualbox+vagrant学习-2(command cli)-20-vagrant suspend命令
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
Suspend
格式:
vagrant suspend [options] [name|id]這個suspend命令將掛起vagrant正在管理的客戶機,而不是完全關閉或摧毀它。
掛起有效地保存了計算機的精確時間點狀態(tài),因此當你稍后恢復它時,它將立即從該點開始運行,而不是進行完全啟動。
這通常需要額外的磁盤空間來在客戶機中存儲RAM的所有內(nèi)容,但是機器在掛起時不再消耗主機的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中的虛擬機進入了休眠狀態(tài):
?
轉載于:https://www.cnblogs.com/wanghui-garcia/p/10170589.html
總結
以上是生活随笔為你收集整理的virtualbox+vagrant学习-2(command cli)-20-vagrant suspend命令的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 企业级java springboot b
- 下一篇: js 实现上下拖动改变父 div 的高度