Skip to content

mrtgst/templog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

templog logs cpu or other temperature to /var/log/temp.log

                     Temperature last 24 h (avg: 51.6)

  56 +---------------------------------------------------------------------+
     |                                                                     |
  55 |               *                                                     |
     |              **     *                                               |
  54 |*   * *       ***  * *                                               |
     |*  **** * *  ****  * *     *                                         |
     |*  * ** * ** *  ** * **    *                                         |
  53 |**** * *******  **** **   **                                         |
     |****   *   ***   ****** ****   *                                     |
  52 | *         *     ****** *****  ***     *                             |
     |                 *** ******  ******  **** *      **                  |
  51 |                             ***  ** **  ***** * **                  |
     |                                  ***     **** ****  *    *          |
  50 |                                           *  ******** ***** * *     |
     |                                           *  *   ***************    |
     |                                                   *  * * ***  *     |
  49 |                                                            *  *     |
     |                                                                     |
  48 +---------------------------------------------------------------------+
    18   19    20   21    22   23   00    01   02   03    04   05    06   07
 

COMMANDS

templog log
templog print
templog plot [hours] (dep: gnuplot, bc)


INSTALLATION

git clone https://github.com/mrtgst/templog
cd templog
ln -s $PWD/templog /usr/bin/templog

add to crontab to log every 5 min:

*/5 * * * * /usr/bin/templog log