GenMon That CPU Temp
A little, really a very, very little script to get the CPU temp from my boxes (tested on my baby Thinkpads and on the Dell XPS M1330).
Used with the little known marvel of the XFCE Panel plugin called GenMon (lately a favorite of mine) you end up getting something like the screenshot on the left.
So here is the script:
#!/bin/bash
cat /sys/class/thermal/thermal_zone0/temp > /tmp/cpu_temp
echo $((`cat /tmp/cpu_temp`/1000))"°"
Used with the little known marvel of the XFCE Panel plugin called GenMon (lately a favorite of mine) you end up getting something like the screenshot on the left.
So here is the script:
#!/bin/bash
cat /sys/class/thermal/thermal_zone0/temp > /tmp/cpu_temp
echo $((`cat /tmp/cpu_temp`/1000))"°"
Labels: GenMon Plugin, links, Linux, Linux Mint, Linux Mint 18, Monitoring, Screen Shots, Scripts, Weather, XFCE
0 Comments:
Post a Comment
<< Home