Graph Thermal Sensor Data with BASH and GNUPlot
Graph Thermal Sensor Data with BASH and GNUPlot
- BASH
- GNU Plot
- nVidia drivers for GPU
Log temperature over some time interval given as days, hours, minutes or seconds.
Enter the variables according to usage:
duration="$1" #duration format is ndnhnmns where n is some number and d is day,
h is hours, m is minutes and s is seconds. For example, 4d , 4d5h30m , 5m30s, 6h30m30s are all valid.
Example for CPU:
# ./plot-cpu.sh 2h 5s
Run for 2 hours, and get CPU temp values every 5 seconds.
Example for GPU:
# ./plot-gpu.sh 30m 1s
Run for 30 minutes, and get GPU temp value every 1 second.
- Script based on: where-can-i-find-the-log-file-of-my-system-temperature