A minimal webserver for remote CPU monitoring (on Linux). Everything is embedded in the executable, so you just need to run the program. I'm planning to run it on my Raspberry Pi 2 to monitor the use of each core. Although it should run on other Linux machines too.
The program will automatically adjust the display according to the number of CPU cores.
NOTE: the code to display the core temperature is designed for the Raspberry Pi, it might not work on other machines.
How to build and run
On the Raspberry Pi (and other Debian based systems probaby)
You should be able to do this:
git clone https://github.com/davidsblog/rCPU cd rCPU/rCPU/ sudo make install
...which will build everything and install it as a service (it will run at system start-up). The server will run on port 8111. That means you can view the graphs by visiting http://192.168.1.2:8111/ (you need to substitute your Raspberry Pi's IP address). You can remove it from your system like this (assuming you are still in the
sudo make uninstall
sudo before calling make above is important, since you're installing services.
Runing manually (or on different Linux versions)
Just do this:
git clone https://github.com/davidsblog/rCPU cd rCPU/rCPU/ make sudo ./rcpu 80
You might have a webserver already running on port 80, in which case you can specify a different port by passing a different parameter than 80 in the last line above.
Thanks to all involved with those projects.