睡眠 休眠 硬盘 空间
- font size decrease font size increase font size
- Print Email
查了下c盘根目录下的休眠文件hiberfil.sys有1G大小,真的要删除它。删除方法可不是直接删除 hiberfil.sys,那删除不了,也不是用windows7自带的磁盘清理,虽然清理项目中会显示出休眠文件,不过是清不掉了,只能通过命令 powercfg -h off 来关闭休眠功能(powercfg -h on是开启)。这是网上搜索到的方法,不过实际使用中,不论你是在开始-运行中,还是通过cmd打开的命令提示符窗口中运行该命令,均不会成功,前者直接 闪下就没了,后者会提示没有权限,再去看hiberfil.sys,还在。
真正关闭休眠的方法是,找到cmd.exe(在c:\windows\system32下),或直接在开始-运行中输入cmd,这时运行框的上 方程序中会出现cmd.exe(前提你没改了开始菜单的样式),然后右击cmd.exe,在弹出菜单中选择“以管理员身份运行”,再在打开命令提示符窗口 中,输入运行命令 powercfg -h off
这样才能真正关闭windows7中的休眠,运行完上面的命令后,不用再去删除hiberfil.sys文件了,它会自动消失,看看可用空间,已经增加1G了。
Last modified onSaturday, 05 January 2013 13:17
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0008 | 413888 | {main}( ) | .../index.php:0 |
2 | 0.0911 | 4718664 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0911 | 4718664 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4214 | 12446792 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4225 | 12471312 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4236 | 12526640 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4240 | 12555464 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4364 | 12990872 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4364 | 12990872 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4510 | 13716072 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4510 | 13716072 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4574 | 14112440 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4599 | 14132808 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5526 | 17070968 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5526 | 17070968 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5551 | 17251168 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in Debian
- Read 3695 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0008 | 413888 | {main}( ) | .../index.php:0 |
2 | 0.0911 | 4718664 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0911 | 4718664 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4214 | 12446792 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4225 | 12471312 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4236 | 12526640 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4240 | 12555464 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4364 | 12990872 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4364 | 12990872 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4510 | 13716072 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4510 | 13716072 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4574 | 14112440 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4599 | 14132808 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5526 | 17070968 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5526 | 17070968 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5551 | 17251168 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |