cpu温度我相信各位使用linux系统的朋友都会有碰到过吧,今天小编为各位整理了一些关于cpu温度查看方法,希望文章能够帮助到各位朋友的哦.
1.先确定你系统是不是64位
- uname-p
- x86_64
如果是x84_64,那么恭喜你,你可以继续看下去了,如果是i686和i386的,那不好意思,请你去重装系统吧.
2.安装
- yuminstalllm_sensors-y
- #配置
- sh-c"yes|sensors-detect"
- #加载模块
- modprobei2c-dev
- modprobecoretemp(如果是64位系统,这步就直接通过了,如果是32位系统,这步是我弄死都过不去的一道坎)
- #查看CPU温度
1、使用命令sensors(管理员用户,主节点).
- [root@console~]#sensors
- w83627hf-isa-0a00
- Adapter:ISAadapter
- VCore1:+1.15V(min=+0.00V,max=+0.00V)ALARM
- VCore2:+1.15V(min=+0.00V,max=+0.00V)ALARM
- +3.3V:+3.22V(min=+3.14V,max=+3.47V)
- +5V:+5.11V(min=+4.76V,max=+5.24V)
- +12V:+5.78V(min=+10.82V,max=+13.19V)ALARM
- -12V:-5.45V(min=-13.18V,max=-10.80V)ALARM
- -5V:+2.94V(min=-5.25V,max=-4.75V)ALARM
- V5SB:+5.67V(min=+4.76V,max=+5.24V)ALARM
- VBat:+3.34V(min=+2.40V,max=+3.60V)
- fan1:5273RPM(min=0RPM,div=8)
- fan2:5818RPM(min=0RPM,div=8)
- fan3:5818RPM(min=883RPM,div=8)
- temp1:+64°C(high=-1°C,hyst=-1°C)sensor=thermistorALARM
- temp2:-3.0°C(high=+80°C,hyst=+75°C)sensor=diode
- temp3:-3.0°C(high=+80°C,hyst=+75°C)sensor=diode
- --phpfensi.com
- vid:+0.000V(VRMVersion8.2)
- alarms:ChassisintrusiondetectionALARM
- beep_enable:
- Soundalarmenabled
2、gpu
- GPU0000:82:00.0
- ProductName:GeForceGTX460
- DisplayMode:N/A
- PersistenceMode:Disabled
- DriverModel
- Current:N/A
- Pending:N/A
- SerialNumber:N/A
- GPUUUID:N/A
- VBIOSVersion:70.04.13.00.00
- InforomVersion
- OEMObject:N/A
- ECCObject:N/A
- PowerManagementObject:N/A
- PCI
- Bus:0x82
- Device:0x00
- Domain:0x0000
- DeviceId:0x0E2210DE
- BusId:0000:82:00.0
- SubSystemId:0x23221462
- GPULinkInfo
- PCIeGeneration
- Max:2
- Current:1
- LinkWidth
- Max:16x
- Current:16x
- FanSpeed:52%
- PerformanceState:N/A
- MemoryUsage
- Total:1023MB
- Used:3MB
- Free:1019MB
- ComputeMode:Default
- Utilization
- Gpu:N/A
- Memory:N/A
- EccMode
- Current:N/A
- Pending:N/A
- ECCErrors
- Volatile
- SingleBit
- DeviceMemory:N/A
- RegisterFile:N/A
- L1Cache:N/A
- L2Cache:N/A
- Total:N/A
- DoubleBit
- DeviceMemory:N/A
- RegisterFile:N/A
- L1Cache:N/A
- L2Cache:N/A
- Total:N/A
- Aggregate
- SingleBit
- DeviceMemory:N/A
- RegisterFile:N/A
- L1Cache:N/A
- L2Cache:N/A
- Total:N/A
- DoubleBit
- DeviceMemory:N/A
- RegisterFile:N/A
- L1Cache:N/A
- L2Cache:N/A
- Total:N/A
- Temperature
- Gpu:41C
- PowerReadings
- PowerManagement:N/A
- PowerDraw:N/A
- PowerLimit:N/A
- Clocks
- Graphics:N/A
- SM:N/A
- Memory:N/A
- MaxClocks
- Graphics:N/A
- SM:N/A
- Memory:N/A
- ComputeProcesses:NotSupported
可以看到我cpu的温度有点高,笔记本将就了.
ps:其他查看cpu温度命令:
cat /proc/acpi/thermal_zone/THRM/temperature (这条我在我机器上是可以用的)
这两条没有测试过:
cat /sys/bus/acpi/devices/LNXTHERM\:00/thermal_zone/temp
cat /proc/acpi/thermal_zone/THM0/temperature
补充一篇文章:监控cpu温度?显卡温度和硬盘温度
1.安装applet
luther@gliethttp:~$ apt-get install lm-sensors sensors-applet // 之后添加"Hardware Sensors Monitor到面板上,如果没有该applet,那么重启一下电脑就可以了.
luther@gliethttp:~$ sudo sensors-detect // 一路回车就可以了
2.安装硬件检测软件
- luther@gliethttp:~$sudoapt-getinstallhddtemp
- luther@gliethttp:~$sudohddtemp/dev/sda
- /dev/sda:ST3160815AS:36°C