linux 磁盘的参数和cpu温度查看命令
cd /sbin
hdparm -t /dev/hda 查看IDE的,Sata或scsi的为:hdparm -t /dev/sda
[[email protected] sbin]# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 192 MB in 3.01 seconds = 63.78 MB/sec
2,查看CPU温度的:
[[email protected] sbin]# cat /proc/acpi/thermal_zone/THRM/temperature
temperature: -268 C
要有内核相关模块(比如I2C)支持,还要找出系统的传感器型号,然后在内核中打开相应选项。
我的的显示-268C,不知道是多少度,一会查查去
[root@wen i2c]# modprobe -l
/lib/modules/2.6.9-34.ELsmp/kernel/arch/i386/oprofile/oprofile.ko
/lib/modules/2.6.9-34.ELsmp/kernel/arch/i386/kernel/cpu/cpufreq/p4-clockmod.ko
/lib/modules/2.6.9-34.ELsmp/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-smi.ko
/lib/modules/2.6.9-34.ELsmp/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k6.ko
/lib/modules/2.6.9-34.ELsmp/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k8.ko
/lib/modules/2.6.9-34.ELsmp/kernel/arch/i386/kernel/microcode.ko
/lib/modules/2.6.9-34.ELsmp/kernel/arch/i386/kernel/msr.ko
/lib/modules/2.6.9-34.ELsmp/kernel/arch/i386/kernel/cpuid.ko
/lib/modules/2.6.9-34.ELsmp/kernel/arch/i386/crypto/aes-i586.ko
/lib/modules/2.6.9-34.ELsmp/kernel/lib/crc-ccitt.ko
- 最新评论