Skip to content

ioan2/gpuinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPU and CPU monitor

This project provides to very simple GTK v2 based tools to monitor continously the CPU (user/nice/system/temperature)or GPU load (utilisation/temperature/fan speed/memory usage/power usage) in an widget. An option allows to print load information on screen (or to an logfile, if needed with a time stamp)

gcpuinfo displays current CPU load by reading /proc/stat. ggpuinfo displays GPU load by using the API provided by the libnvidia-ml.so library, which comes with CUDA 8.0.

License

This library is under the 3-Clause BSD Licence. See LICENSE

Author

Johannes Heinecke

Requirements

  • gcpuinfo: gtk-2 development libraries
  • ggpuinfo: gtk-2 development libraries, libnvidia-ml.so

Compiling

mkdir build
cd build
cmake  -DCMAKE_BUILD_TYPE=Release  [-DCMAKE_INSTALL_PREFIX=/usr/local]  ..	

Run

Run the following

gcpuinfo -h
ggpuinfo -h

for help on any option

Install

cd build
make install

By default, the tools will be installed in /usr/local/bin. To have them installed in a different location, uncomment modify the line set(CMAKE_INSTALL_PREFIX ../testinstall) in CMakeLists.txt

Create .deb package

cd build
make package

This produces a .deb package for a Debian/Ubuntu distribution.

About

Two simple tools to display GPU or CPU load continously in a Gtk widget

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •