linux下的Suspend与Hibernate 的区别
来源:互联网 发布:idea scala java 混合 编辑:程序博客网 时间:2024/06/15 10:37
原文:https://help.ubuntu.com/10.04/hardware/C/pm-suspending.html
In order to save power, you can put your computer into one of a number of power-saving modes when you are not using it:
Suspending a computer is like putting the computer to sleep. The computer will still be turned on and all of your work will be left open, but it will use much less power. You can wake the computer by pressing a key or clicking the mouse.
Hibernating is turning the computer off completely while saving the current state of the computer (such as keeping all of your open documents). When you turn the computer back on after hibernating, all of your work should be restored as it was before hibernation. No power is used when the computer is hibernating.
Shutting down is turning the computer off completely, without saving the current state of the computer. No power is used when the computer is shut down.
Resuming is bringing the computer out of a power saving mode and back into normal operation. You can resume the computer from being suspended by pressing a keyboard button or by clicking the mouse. You can resume from being hibernated by pressing the power button on your computer.
You can manually put your computer into a power-saving mode by pressing the User Switcher in the top right hand corner of the screen and then pressing the appropriate button.
![[Caution]](https://help.ubuntu.com/10.04/libs/admon/caution.png)
Some computers may have problems going into certain power saving modes. The best way of checking if your computer can handle a power-saving mode is to try to switch to that mode and see if it behaves as you expected. Always make sure you save important documents before suspending or hibernating.
My computer does not suspend or hibernate correctly
Some computers are unable to suspend or hibernate correctly with Ubuntu. If this is the case for your computer, you may notice some of the following symptoms:
The computer does not turn off after you click to hibernate it.
When you turn the computer on after hibernating it, your previously open programs are not restored.
The computer will not wake up after you have suspended it.
Certain programs or hardware devices stop working correctly after resuming from hibernation or waking-up from being suspended.
If you suffer from any of these problems, you should report a bug to Launchpad. The problems will hopefully be fixed in a subsequent version of Ubuntu.
If your hardware does not work properly after suspending or hibernating your computer, restart your computer and it should return to normal. If a program does not work properly, try closing the program and then starting it again.
![[Caution]](https://help.ubuntu.com/10.04/libs/admon/caution.png)
Make sure that you save all of your open documents before testing for suspend and hibernate problems.
Why do I get a strange pattern on the screen when I hibernate my computer?
Your screen may show a black and white pattern just after you click to hibernate your computer. This is usually nothing to worry about and is just how the graphics cards of some computers respond to the initial stages of the hibernation process.
If the computer displays the pattern for a prolonged period of time without turning itself off then you may have a problem with hibernation. SeeMy computer does not suspend or hibernate correctly for more information.
Suspend does not turn off your computer. It puts the computer and all peripherals on a low power consumption mode. If the battery runs out or the computer turns off for some reason, the current session and unsaved changes will be lost.
Hibernate saves the state of your computer to the hard disk and completely powers off. When resuming, the saved state is restored to RAM.
其他参考:http://truejournals.com/2009/10/13/suspend-vs-hibernate/--博客的界面很漂亮,详细介绍了二者的优缺点以及使用场合。
http://pubs.logicalexpressions.com/pub0009/LPMArticle.asp?ID=745--图文并茂,以windows为例
http://www.cyberciti.biz/faq/linux-suspend-hibernate-functionality-support/--该网站很多技术类文章,值得一看。
http://en.wikipedia.org/wiki/Hibernation_%28computing%29--wiki: hibernate
http://askubuntu.com/questions/3369/what-is-the-difference-between-hibernate-and-suspend--著名的stack exchange的ask ubuntu版块
https://wiki.archlinux.org/index.php/Suspending_to_Disk_with_hibernate-script--archlinux上很多文档。。。
- linux下的Suspend与Hibernate 的区别
- “阻塞(pend)”与“挂起(suspend)”的区别?
- Linux下 使用 中断唤醒 已经suspend的 系统
- [PowerManagement]Linux的Suspend流程
- platform_driver->suspend 和platform_driver-pm->suspend的区别分析
- stop与suspend区别
- ubuntu Suspend 和 Hibernate 区别
- android idle和suspend的区别代码
- Linux的suspend机制的设计原理
- Linux的suspend机制的设计原理
- block与“阻塞(pend)”与“挂起(suspend)”的区别?
- linux 监控驱动suspend/resume的执行
- 线程stop与suspend区别
- 如何在Android 或Linux 下,做Suspend /Resume 的Debug
- 如何在Android 或Linux 下,做Suspend /Resume 的Debug
- 如何在Android 或Linux 下,做Suspend /Resume 的Debug
- linux下open与fopen的区别
- Linux下回车与换行的区别
- Android存储
- 查看端口占用的问题
- tomcat 帐号配置
- mysql中 show index from tb_name命令各列的含义
- spring管理数据源
- linux下的Suspend与Hibernate 的区别
- c语言 常用语句
- c# 怎样将日期转换成毫秒值?
- 用NFS启动rootfs的浅度总结
- this对象以及内存泄漏
- linux中select()函数分析
- centOs6.3调整分区大小
- C++成长之路
- 在SharePoint 2010 中创建甘特图