時間:2015/6/28來源:IT貓撲網(wǎng)作者:網(wǎng)管聯(lián)盟我要評論(0)
1)查看硬盤參數(shù):
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參數(shù)
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
但是有個前提條件是:
要有內(nèi)核相關模塊(比如I2C)支持,還要找出系統(tǒng)的傳感器型號,然后在內(nèi)核中打開相應選項。
我的可能是不滿足這個前提條件,查看失敗。
2.
首先確保系統(tǒng)中有安裝lm_sensors包,安裝好后直接在終端運行sensors-detect然后一路回車就行了,系統(tǒng)會默認啟動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
相關閱讀
熱門文章 安裝紅帽子RedHat Linux9.0操作系統(tǒng)教程使用screen管理你的遠程會話GNU/Linux安裝vmware如何登錄linux vps圖形界面 Linux遠程桌面連
人氣排行 Linux下獲取CPUID、硬盤序列號與MAC地址linux tc實現(xiàn)ip流量限制dmidecode命令查看內(nèi)存型號linux下解壓rar文件安裝紅帽子RedHat Linux9.0操作系統(tǒng)教程Ubuntu linux 關機、重啟、注銷 命令lcx.exe、nc.exe、sc.exe入侵中的使用方法查看linux服務器硬盤IO讀寫負載