Skip to content

A simple C app for tracking CPU workload on your Linux machine.

License

Notifications You must be signed in to change notification settings

kfernandez31/CPU-Usage-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUT - CPU Usage Tracker

Running

To run the tracker, do the following:

cmake -B build
cmake --build build
./build/tracker

Tests

There are some unit tests of the workers' queues. As for more general tests, it's hard to check something more than the app "just working" and looking at its output. You can though tweak some timeouts, play with interrupts (SIGTERM), run it under valgrind and check if it works. Regardless, to run tests, do:

cmake -B build
cd build
make test

Misceallaneous

Logging was inspired by: https://github.com/rxi/log.c

About

A simple C app for tracking CPU workload on your Linux machine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages