Skip to content

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

License

Notifications You must be signed in to change notification settings

TACC/core_usage

Repository files navigation

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

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 Alt text
Screen snapshot of the terminal version Alt text

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published