Here is what coremon looks like:
Each bar shows what fraction of each core utilization is allocated to user computation (light blue) and system tasks (dark blue). The animation above shows CPU utilization for an N-Body simulation running on my laptop, which has a dual core hyperthreaded CPU (hence four virtual CPUs.)
Coremon works by reading /proc/cpuinfo
and /proc/stat
on Linux.
Coremon requires libui, which you will most likely need to build from source. Libui requires gtk3. On Ubuntu and Debian, you will need libgtk-3-dev
installed (and of course the usual development tools such as gcc
.)
To compile coremon, edit the Makefile
to correctly reflect the location where libui
is installed, and then run the commands
make depend
make
The executable will be called coremon
.
Coremon is distributed under the MIT License.
Send comments to david.hovemeyer@gmail.com.