SysGraph



A simple system monitor shows a graph of your CPU and RAM usage in the terminal. It also shows the current CPU temperature and can log to a file.



Demo

Demo

How To Use

Simply run the binary from the terminal. You can use the -h flag to see the help message. The --log <file> flag will log the CPU and RAM usage to a file. The log file will be created if it does not exist and appended to if it does. The log frequency is 1 second. The CSV format is:

unix, cpu usage, temp, ram taken, buffer, avialbale, free


How Do I Build from Source?

Simply download and unpack the files. To build and install run:

$ make
$ make install

The Makefile will automatically detect the best build system to use. It will install into the /usr/local/bin directory.


How Does It Work

It works by reading the /proc filesystem to get the CPU and RAM usage and the /sys directory to get the CPU temperature. It is only available for Linux because it uses the /proc and /sys filesystems. I do not plan on making a Windows version.


All software on https://sophuwu.site is free and open source. Anyone claiming to sell my software is a scammer. This program (SysGraph by Sophuwu) is free to be used by anyone. You can use it for personal or commercial use. You can also modify it to your liking and redistribute it.