Mostrar temperaturas
Podemos ver las temperaturas de la CPU, y wifi 2.4Ghz y 5Ghz. Entrar por SSH en el router
ssh user@ip_routerVer temperatura CPU
cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1 / 1000}'Nos mostrara el valor numérico en celsius
$ cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1 / 1000}'
51.531Si lo queremos con 1 decimal
cat /sys/class/thermal/thermal_zone0/temp | awk '{printf("%.1f\n", $1 / 1000) }'$ cat /sys/class/thermal/thermal_zone0/temp | awk '{printf("%.1f\n", $1 / 1000) }'
51.5Para ver la temp de la red 2.4/5Ghz, podemos consultar en la NVRAM el dispositivo.
nvram get wl0_ifname
nvram get wl1_ifnamey nos mostrara el nombre del dispositivo correspondiente.
Temperatura red 2.4Ghz
wl -i eth6 phy_tempsense | awk '{print $1 / 2 + 20}'Temperatura red 5Ghz
wl -i eth7 phy_tempsense | awk '{print $1 / 2 + 20}'Last updated
Was this helpful?