Cómo ver la temperatura del hardware en una máquina Solaris (o derivados)
Para ver las temperaturas hardware en máquinas con Sistema Operativo Solaris o derivados (Illumos o, en mi caso, SmartOS), podemos hacer lo siguiente:
[root@xXx ~]# /usr/lib/fm/fmd/fmtopo -V "*sensor=temp" TIME UUID Aug 15 15:30:59 aa2bfd40-5c98-637b-8781-9c452912b4c6 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=0?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=0?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 73.000000 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=1?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=1?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 75.000000 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=2?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=2?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 72.000000 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=3?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=3?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 73.000000 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 76.000000
En esta máquina en concreto tenemos acceso a la temperatura de los cuatro núcleos de la CPU más una temperatura general del hardware.
Podemos ver que las temperaturas son bastante altas, más de 70°C. Eso es porque este servidor, en este momento, está funcionando a tope.
Si espero a que termine su actividad pico y pase a estar aburrido, la cosa cambia bastante (poco más de 40°C):
[root@xXx ~]# /usr/lib/fm/fmd/fmtopo -V "*sensor=temp" TIME UUID Jun 28 15:50:36 746ef735-b845-c089-9768-a2776edf6640 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=0?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=0?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 43.000000 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=1?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=1?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 45.000000 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=2?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=2?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 36.000000 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=3?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0/core=3?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 44.000000 hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0?sensor=temp group: protocol version: 1 stability: Private/Private resource fmri hc://:product-id=System-Product-Name:server-id=xXx:chassis-id=System-Serial-Number/motherboard=0/chip=0?sensor=temp group: authority version: 1 stability: Private/Private product-id string System-Product-Name chassis-id string System-Serial-Number server-id string xXx group: facility version: 1 stability: Private/Private sensor-class string threshold type uint32 0x1 (TEMP) units uint32 0x1 (DEGREES_C) reading double 46.000000