/plot-sensors

Graph Thermal Sensor Data with BASH and GNUPlot

Primary LanguageShellGNU Lesser General Public License v3.0LGPL-3.0

plot-sensors

Graph Thermal Sensor Data with BASH and GNUPlot

Graph Thermal Sensor Data with BASH and GNUPlot

ScreenShot

ScreenShot

Table of contents

Requirements

  • BASH
  • GNU Plot
  • nVidia drivers for GPU

Usage

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.