免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3408 | 回复: 0
打印 上一主题 下一主题

查看CPU温度的命令!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-07 21:56 |只看该作者 |倒序浏览

How to find Temperature Range on Sun Blade [TM] Sun Fire[TM] systems
(一)prtpicl -v -c temperature-sensor
Keyword(s):Sun Fire V880/ V480r/ V280r, Sun Blade 1000/2000 /100/150, cpu temp
Description Top
Document Body Top
The way to find out what the temperature range is on Sun Blade Desktop or a Sun Fire entry level server is to use a command.
#prtpicl -v -c temperature-sensor                        
This will look at the fru info on the CPU and display it to the screen.
The temps are different from system to system, and CPU to CPU.
The info in the fru id is set at manufacturing, and can varies from CPU speed to CPU type. It should not be assumed that there is a default temp for all CPUs.
Example:
# prtpicl -v -c temperature-sensor
  CPU0_DIE_TEMPERATURE_SENSOR (temperature-sensor, 3a00000579)
  :PSVC_FRU     (3a000006ebTBL)
   | (3a0000058dH) |
  :PSVC_PHYSICAL_DEVICE (3a00000678TBL)
   | (3a000005a1H) |
  :PSVC_PARENT  (3a000005ebTBL)
   | (3a0000049dH) |
  :PSVC_TS_OVERTEMP_LED (3a000005b8TBL)
   | (3a000004e1H) |
  :HighShutdownThreshold         95
  :HighWarningThreshold  93
  :LowShutdownThreshold  -10
  :LowWarningThreshold   0
  :Temperature   59
  :FaultInformation      NO_FAULT
  :State         OK
  :_class        temperature-sensor
  :name  CPU0_DIE_TEMPERATURE_SENSOR
  CPU1_DIE_TEMPERATURE_SENSOR (temperature-sensor, 3a00000583)
  :PSVC_FRU     (3a000006eeTBL)
   | (3a00000592H) |
  :PSVC_PHYSICAL_DEVICE (3a0000067bTBL)
   | (3a000005a6H) |
  :PSVC_PARENT  (3a000005eeTBL)
   | (3a000004a2H) |
  :PSVC_TS_OVERTEMP_LED (3a000005bbTBL)
   | (3a000004e1H) |
  :HighShutdownThreshold         95
  :HighWarningThreshold  93
  :LowShutdownThreshold  -10
  :LowWarningThreshold   0
  :Temperature   57
  :FaultInformation      NO_FAULT
  :State         OK
  :_class        temperature-sensor
  :name  CPU1_DIE_TEMPERATURE_SENSOR                        
From the example above:
The "Temperature 57" is the temp. that the CPU is at, at this current time.
The "HighShutdownThreshold 95" is the temp. at which the system will shut itself down.
The "HighWarningThreshold 93" is the temp. at which the system will start to send warnings out to the console.
Note that all temps are in degrees centigrade.
keywords: Sun Fire V880/ V480r/ V280r , Sun Blade 1000/2000 /100/150 , cpu temp


(二)/usr/platform/sun4u/sbin/prtdiag -v 部分机型支持
bash-2.03$ /usr/platform/sun4u/sbin/prtdiag -v
System Configuration: Sun Microsystems  sun4u Sun Blade 150 (UltraSPARC-IIe 650MHz)
System clock frequency: 93 MHZ
Memory size: 1GB        
==================================== CPUs ====================================
               E$          CPU     CPU       Temperature
CPU  Freq      Size        Impl.   Mask     Die    Ambient
---  --------  ----------  ------  ----  --------  --------
0    650 MHz  512KB       US-IIe   3.3     36 C     36 C
================================= IO Devices =================================
     Bus   Freq
Brd  Type  MHz   Slot        Name                              Model
---  ----  ----  ----------  --------------------------------  ----------------------
0   pci    33            7  isa/dma-isadma (dma)                                    
0   pci    33            7  isa/serial-su16550 (serial)                             
0   pci    33            7  isa/serial-su16550 (serial)                             
0   pci    33            8  sound-pci10b9,5451.10b9.5451.1 (+                       
0   pci    33           12  network-pci108e,1101.1 (network)  SUNW,pci-eri         
0   pci    33           12  firewire-pci108e,1102.1001 (fire+                       
0   pci    33           13  ide-pci10b9,5229.c3 (ide)                              
0   pci    33           19  SUNW,m64B (display)               ATY,RageXL            
============================ Memory Configuration ============================
Segment Table:
-----------------------------------------------------------------------
Base Address       Size       Interleave Factor  Contains
-----------------------------------------------------------------------
0x0                256MB             1           Label -
0x40000000         256MB             1           Label -
0x80000000         256MB             1           Label -
0xc0000000         256MB             1           Label -
=============================== usb Devices ===============================
Name          Port#
------------  -----
mouse           2
keyboard        4
============================ Environmental Status ============================
Fan Speeds:
----------------------------
Fan Device            Speed
----------------------------
system                 100%
================================ HW Revisions ================================
ASIC Revisions:
---------------
ebus: Rev 1
System PROM revisions:
----------------------
OBP 4.10.6 2003/06/06 12:30
POST 2.0.1 2001/08/23 17:13

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/2485/showart_317030.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP