linux hibernate suspend 区别,linux hibernate(冬眠) suspend(悬停) power off (关机) 区别...

Hibernation saves the contents of RAM to hard disk (your swap partition), and then turns the computer off fully. When you turn the computer back on, the state is restored.

Suspend is much simpler: Everything is turned off (or into a very low power state) except the RAM, basically. When you press the power button on your computer, everything turns on. Suspend seems to work more reliably, in my experience.

If you have a desktop computer, you'll probably prefer to suspend as it's quicker to suspend and quicker to unsuspend. Laptop users may prefer to hibernate, because hibernation uses no battery power.

To get your computer out of suspend or hibernate, just press the power button. For suspend, you can often press the space bar or move the mouse.

No code runs while the computer is in suspend or hibernate. Cron jobs will not run, not even when the machine comes back up to full power. Any Anacron or "at" jobs scheduled to run during the low-power state will run after the computer comes back up.

I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

hibernate 将 全部的内容放到了swap交换分区里面,然后断电关机,原来的工作会保留,但开机会很慢,因为占用了swap 可用 swapoff -a 还原否则会很卡,这个过程会很慢,因为他要将全部放到swap里面,然后恢复直接 电源键,指示灯不会亮,不会耗电

suspend 暂停 将内容放到了 内存中,恢复会很快,直接按键space即可恢复,会在后台一直耗电,所以得一直插着电,电脑指示灯会一直亮着

power off直接关机,不会保留原来的工作

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值