Skip to content

NorianGuernine/Linux-CPU-Usage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Total alerts Language grade: C/C++

What is Linux CPU Usage

It is a tool that measures CPU usage.

How to use it

Compilation

You have to use Cmake to compile.

Just run the following commands:

norian@norian-HP-Pavilion:~/Documents/github/CPU-Usage$ cmake .

norian@norian-HP-Pavilion:~/Documents/github/CPU-Usage$ make

A compiled file named cpu_utilzation appears.

Use of the tool

Just run the compiled file with the command:

norian@norian-HP-Pavilion:~/Documents/github/CPU-Usage$ ./cpu_utilization

The first "cpu" line aggregates the numbers in all of the other "cpuN" lines.

cpu-usage