Use crontab to log CPU temperature on OSX!
I have just set up a way to automatically log temperature using OSX terminal because my computer was frequently overheating and I wanted to investigate why. Here is breakdown of how I did it.
First of all, I installed Temperature Monitor for OSX from this URL into the application folder.
On terminal, I entered the following command to edit
nano text editor environment.
In the editor, I entered the following line which creates and appends date, time and temperatures from all your built-in sensors at a minute interval to
~/Documents/temp.txt. Feel free to change this to whatever you like.
CTRL+X followed by
ENTER to save the file. Then you’re done! Wait for the file to be created on your desktop.
To filter the
DIODE temperatures, simply enter the following command into the terminal.
The latest temperature is shown at the bottom.