Chinaunix首页 | 论坛 | 博客
  • 博客访问: 275930
  • 博文数量: 78
  • 博客积分: 1834
  • 博客等级: 上尉
  • 技术积分: 1140
  • 用 户 组: 普通用户
  • 注册时间: 2012-06-22 17:46
文章分类

全部博文(78)

文章存档

2013年(4)

2012年(74)

分类: LINUX

2012-10-08 19:59:12

高级配置和电源管理接口 apci, 可看温度
    acpi -t

硬盘检测: smartmontools
    sudo smartctl --all /dev/sda | grep Load_Cycle_Count
    sudo smartctl --all /dev/hda
对硬盘进行检测 手工对硬盘进行测试的方法有以下四种:
smartctl -t short     后台检测硬盘,消耗时间短
smartctl -t long       后台检测硬盘,消耗时间长
smartctl -C -t short  前台检测硬盘,消耗时间短
smartctl -C -t long   前台检测硬盘,消耗时间长
    停止检查:smartctl -X /dev/hdb
    查看日志:smartctl -l error /dev/hdb

laptop-mode-tools
    配置Linux电源管理属性

向 /etc/laptop-mode/laptop-mode.conf 文件中 
ENABLE_LAPTOP_MODE_ON_AC=1保存修改后,
运行sudo laptop_mode start force
,启动laptop_mode 模式,
查看cat /proc/sys/vm/laptop_mode,使其不为零。0表示没有进入laptop_mode 模式。
主要通过降低硬盘转速节能。

从9.04开始,apm系统默认值设为了254[AC mode: 254, Battery mode: 128],这个值的确有效的降低了Load_Cycle_Count和硬盘不停的类似滴水般的响声,但是也导致了个别硬盘过热。过热应该多数发生在SATA硬盘上,hdparm貌似只对SATA有效果。
修改 /etc/hdparm.conf   在末尾加上下面三行,
/dev/sda {
    apm = 196
}

sudo hdparm -B 196 /dev/sda


阅读(2159) | 评论(0) | 转发(0) |
0

上一篇:常用命令

下一篇:windows 远程桌面

给主人留下些什么吧!~~