待机(Standby),将系统切换到该模式后,除了内存,<wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">电脑</span><a href="" target="_self" style="word-break:break-all; color:rgb(0,153,153); font-size:12px"><span style="word-break:break-all"><span style="word-break:break-all">其他</span></span></a><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">设备的供电都将中断,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">只有内存依靠电力维持着其中的数据(因为内存是易失性的,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">只要断电,数据就没有了)。这样当希望恢复的时候,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">就可以直接恢复到待机前状态。这种模式并非完全不耗电,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">因此如果在待机状态下供电发生异常(例如停电),</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">那么下一次就只能重新开机,所以待机前未保存的数据都会丢失。</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">但这种模式的恢复速度是最快的,一般五秒之内就可以恢复。</span><br style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><br style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px"> 休眠(</span><a href="" target="_self" style="word-break:break-all; color:rgb(0,153,153); font-size:12px"><span style="word-break:break-all"><span style="word-break:break-all">Hibernate</span></span></a><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">),将系统切换到该模式后,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">系统会自动将内存中的数据全部转存到硬盘上一个休眠文件中,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">然后切断对所有设备的供电。这样当恢复的时候,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">系统会从硬盘上将休眠文件的内容直接读入内存,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">并恢复到休眠之前的状态。这种模式完全不耗电,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">因此不怕休眠后供电异常,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">但代价是需要一块和物理内存一样大小的硬盘空间(</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">好在现在的硬盘已经跨越TB级别了,大容量硬盘越来越便宜)。</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">而这种模式的恢复速度较慢,取决于内存大小和硬盘速度,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">一般都要1分钟左右,甚至更久。</span><br style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><br style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px"> 睡眠(Sleep),是</span><a href="" target="_self" style="word-break:break-all; color:rgb(0,153,153); font-size:12px"><span style="word-break:break-all"><span style="word-break:break-all">Windows</span></span></a><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px"></span><a href="" target="_self" style="word-break:break-all; color:rgb(0,153,153); font-size:12px"><span style="word-break:break-all"><span style="word-break:break-all">Vista</span></span></a><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">中的新模式,这种模式结合了待机和休眠的所有优点。</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">将系统切换到睡眠状态后,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">系统会将内存中的数据全部转存到硬盘上的休眠文件中(</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">这一点类似休眠),然后关闭除了内存外所有设备的供电,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">让内存中的数据依然维持着(这一点类似待机)。这样,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">当我们想要恢复的时候,如果在睡眠过程中供电没有发生过异常,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">就可以直接从内存中的数据恢复(类似待机),速度很快;</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">但如果睡眠过程中供电异常,内存中的数据已经丢失了,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">还可以从硬盘上恢复(类似休眠),只是速度会慢一点。</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">不过无论如何,这种模式都不会导致数据丢失。</span><br style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><br style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">正因为睡眠功能有这么多优点,因此Windows Vista开始菜单上的电源按钮默认就会将系统切换到睡眠模式。</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">所以我们大可充分利用这一新功能,毕竟从睡眠状态下恢复,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">速度要比从头启动快很多。而且睡眠模式也不是一直进行下去的,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">如果系统进入睡眠模式一段时间后(具体时间可以设定)</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">没有被唤醒,那么还会自动被转入休眠状态,并关闭对内存的供电,</span><wbr style="word-break:break-all; color:rgb(141,141,141); font-size:12px"><span style="color:rgb(141,141,141); font-size:12px; line-height:21.59375px">进一步节约能耗。</span>
</wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
分享到:
相关推荐
有时候写Shell的脚本,...sleep 1 睡眠1秒 sleep 1s 睡眠1秒 sleep 1m 睡眠1分 sleep 1h 睡眠1小时 用法如下,例如重启tomcat: 代码如下: #!/bin/sh /opt/tomcat/bin/shutdown.sh sleep 3 #等3秒后执行下一条 /opt
待机 休眠 睡眠 相信大家还是不太了解 这篇文章将详细介绍一下!
win7电脑休眠和睡眠有什么区别?.docx
移动端在浏览H5网页时,经过一段时候后系统会黑屏,手机进入休眠模式。NoSleep插件旨在让任何Android ,iOS浏览器进入休眠状态,保持屏幕常亮。
一键休眠,勿需等待,附SDK源码 (注:按下执行文件立即休眠,请自行检查主板是否支持休眠)
系统待机、休眠、睡眠的区别和优缺点.docx
1、STM32F103通过设置SLEEP休眠模式,使单片机进入低功耗休眠状态,例程提供单片机进入SLEEP模式,并从SLEEP模式唤醒的操作。 2、代码使用KEIL开发,当前在STM32F103C8T6运行,如果是STM32F103其他型号芯片,依然...
防止计算机进入屏保或休眠状态,可以指定时间段有效。
Ubuntu设置屏幕睡眠系统不休眠
分步阅读 最近使用Win7时一直找不到“休眠”按钮。... 混合休眠(Hybird Sleep):把内存数据写到硬盘中,然后切断除内存外的所有设备的供电。避免了一旦断电则内存中的数据丢失的情况,下次开机则是从休眠中恢复过来。
Qt Windows 休眠唤醒信号
帮你更好的了解系统的睡眠与休眠 让你的机子运行的更快更流畅
利用PowerManager中 goToSleep和wakeUp方法实现手机强制休眠和唤醒,demo已测试通过
定时休眠睡眠关机(默认关机)
资源为代码patch,主要修复设置-显示-休眠中无永不休眠选项。为防止语言资源导致报错,重新在arrays添加选项,永不休眠原理只是将时间设置为Integer.MAX_VALUE
NoSleep主要是在休息的时候提醒电脑是否关机,或者停止...NoSleep在系统栏显示图标,帮你避免系统被睡眠或屏保;即使合上笔记本,系统依然运行不睡觉。和昨天介绍的 Caffeine 相比,NoSleep 更小巧,Win/Mac 均有版本。
XP的休眠,直接执行即可休眠, 压缩包中有使用说明, 主要用于计划任务定时休眠。 XP自带的shutdown没有/h参数,可使用此程序。
参数:(1)slpMode为睡眠模式(s/S-睡眠,h/H-休眠),指需要电脑进入睡眠模式 还是休眠模式; (2)slpTimes为睡眠唤醒次数(正整数,单位:次),指需要电脑自动睡眠 并唤醒的次数; (3)wkpInterval为...
Windows电脑,自动定时+休眠+睡眠+关机 批处理文件 .bat