/core_usage

core_usage, a useful tool with GUI and text modes to visualize CPU load

Primary LanguageC++OtherNOASSERTION

core_usage

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

Screen snapshot of GUI Alt text
Screen snapshot of the terminal version Alt text