I have released the first public version of cpu-stat, a command line program which provides CPU usage statistics for Linux systems. Source code is open and available on GitHub.
Tag Archive: program
This article explains how to create a simple program in C++ that shows the current CPU usage from command line in Linux. That’s achieved processing the file /proc/stat which contains several kernel/system statistics.
This is a very simple C++ tutorial which explains how to use the open-source library libgit2 to iterate through a git repository.