Giter Club home page Giter Club logo

wmtemp's Introduction

wmtemp

This is dead simple Window Maker app for monitoring CPU and GPU temperature. Based on WMTempMon dockapp, although it was heavily reworked.

wmtemp transitions

Compile

To build the dockapp, you'll need libdockapp it should be available in your package repository. While you have it installed, perform the commands:

$ make
$ sudo make install

Binary will be installed in /usr/local/bin directory.

Configuration

To use the dockapp, you'll need to prepare configuration file, otherwise you'll see 0 values for every core/gpu.

Wmtemp will look for configuration file in home directory. Here is sample content of such file:

$ cat ~/.wmtemp
# wmtemp conf file

cpu1_path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
cpu1_critical = 80
cpu1_warning = 65
cpu2_path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
cpu2_critical = 80
cpu2_warning = 65
cpu3_path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp4_input
cpu3_critical = 80
cpu3_warning = 65
cpu4_path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp5_input
cpu4_critical = 80
cpu4_warning = 65
gpu_path = /sys/devices/virtual/hwmon/hwmon1/temp4_input
gpu_critical = 70
gpu_warning = 60

Every core have three options to change:

  • [core]_path - path to temperature file to read from. The content of such file contains a number of temperature in mili-Celsius.
  • [core]_critical - temperature in °C, on which (and beyond) red color would be used for highlight the entry.
  • [core]_warning - temperature in °C, on which (and beyond) orange color would be used for highlight the entry.

In main directory there is a wmtemp_sample file, which can be copied to ~/.wmtemp and tweaked according to the needs and hardware.

Licence

This software is licensed under GPL2 license. See COPYING file for details.

wmtemp's People

Contributors

gryf avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.