Skip to content

Captures the output of the sensors command and saves it in a file

Notifications You must be signed in to change notification settings

satyarsh/lm-sensors-capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lm-sensors output capture!

Bash Script that Captures the output of the lm-sensors command and saves it in a text file.

sensors_pic sensors_pic_2

Usage and Installation :

git clone https://github.com/satyarsh/lm-sensors-capture.git
sudo chmod +x sensors_capture.sh
  • Run the the script as ./sensors_capture.sh

    ./sensors_capture.sh

  • Give the script a text file path then how frequent do you want it to output to a file (values are in seconds so a value of 10 will write the output of lm-sensors to your file every 10 seconds)

  • Create a text file of your choice and give the path of it to the script.

  • Make sure that the text file you are writing to has read/write privileges

    sudo chmod 665 <Your_TextFile.txt>

  • The script will run until intrrupted by the user with Ctrl+c

Usecase :

  • Read through your Overall tempratures after quiting your game
    • Or after rendering a large video project
    • Or compiling your code
    • The list goes on...

About

Captures the output of the sensors command and saves it in a file

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages