歡迎您光臨本站 註冊首頁

查看硬碟參數,CPU參數溫度等

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0

1)查看硬碟參數:

hdparm /dev/hda

我的硬碟顯示:

/dev/hda:

multcount = 16 (on)

IO_support = 1 (32-bit)

unmaskirq = 1 (on)

using_dma = 1 (on)

keepsettings = 0 (off)

readonly = 0 (off)

readahead = 256 (on)

geometry = 59582/16/63, sectors = 60058656, start = 0

2)查看cpu參數

cat /proc/cpuinfo

processor : 0

vendor_id : GenuineIntel

cpu family : 15

model : 1

model name : Intel(R) Pentium(R) 4 CPU 1.80GHz

stepping : 3

cpu MHz : 1800.029

cache size : 256 KB

fdiv_bug : no

hlt_bug : no

f00f_bug : no

coma_bug : no

fpu : yes

fpu_exception : yes

cpuid level : 2

wp : yes

flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm up

bogomips : 3600.05

3)查看cpu溫度:

1.

cat /proc/acpi/thermal_zone/THRM/temperature

但是有個前提條件是:

要有內核相關模塊(比如I2C)支持,還要找出系統的感測器型號,然後在內核中打開相應選項.

我的可能是不滿足這個前提條件,查看失敗.

2.

首先確保系統中有安裝lm_sensors包,安裝好后直接在終端運行sensors-detect然後一路回車就行了,系統會默認啟動lm_sensors服務,之後你再在終端運行sensors命令即可,就會顯示CPU溫度電壓型號等等.

it87-isa-0290
Adapter: ISA adapter
VCore 1: 1.71 V (min = 4.08 V, max = 4.08 V) ALarm
VCore 2: 2.59 V (min = 4.08 V, max = 4.08 V) ALarm
3.3V: 3.25 V (min = 4.08 V, max = 4.08 V) ALarm
5V: 5.19 V (min = 6.85 V, max = 6.85 V) ALarm
12V: 11.39 V (min = 16.32 V, max = 16.32 V) ALarm
-12V: -20.00 V (min = 3.93 V, max = 3.93 V) ALarm
-5V: 3.33 V (min = 4.03 V, max = 4.03 V) ALarm
Stdby: 5.03 V (min = 6.85 V, max = 6.85 V) ALarm
VBat: 2.03 V
fan1: 0 RPM (min = 0 RPM, div = 8)
fan2: 0 RPM (min = 0 RPM, div = 8)


fan3: 0 RPM (min = 0 RPM, div = 2)
M/B Temp: 49 C (low = -1 C, high = -1 C) sensor = thermistor
CPU Temp: 36 C (low = -1 C, high = -1 C) sensor = thermistor
Temp3: 35 C (low = -1 C, high = -1 C) sensor = diode


[火星人 ] 查看硬碟參數,CPU參數溫度等已經有1378次圍觀

http://coctec.com/docs/linux/show-post-52480.html