The little GUI to show the usage of all cores.
To compile,
g++ -O2 -o core_usage core_usage.cpp -lX11 -lncurses
To run core_usage
./core_usage [<int>] [txt]
The parameter is the time interval of updating core unitlization data and the unit is second. Without it, 1.0 is used as default.
Parameter "txt" forces core_usage to run in console version although X11 is available.
The GUI will show up if X11 is available. If not, the console version will run. If you want to run the console version even you have X11,
./core_usage 1.0 txt
In case you want to save core usage info into log file, you can
export LOG_CORE_USAGE=1
before running core_usage.
Screen snapshot of GUI
Screen snapshot of the terminal version