LinTut

How to install and use CoreFreq โ€“ CPU monitoring tool for linux

CoreFreq CPU Monitoring tool for linux

CoreFreq CPU Monitoring tool for linux

CoreFreq is a CPU monitoring software designed for 64-bits Processors w/ architectures Intel Atom, Core2, Nehalem, SandyBridge and superior, AMD Family 0F.
CoreFreq provides a framework for retrieving CPU data with a high degree of precision:

To reach this goal, CoreFreq implements a Linux Kernel module which employs the followings:

How to install CoreFreq

First, install the prerequisite packages:

## On Debian/Ubuntu distributions
$ sudo apt-get install dkms git libpthread-stubs0-dev
## On CentOS/RHEL
sudo yum group install 'Development Tools'
## On Fedora 22+
$ sudo dnf  group install 'Development Tools'>

Now, clone and build CoreFreq source code from github:

$ git clone https://github.com/cyring/CoreFreq.git
$ cd CoreFreq
$ make
CoreFreq build source code


As root, change to the build directory then start the module followed by the daemon:
$ sudo insmod corefreqk.ko
$ sudo ./corefreqd

Then start the client, as user:

$ ./corefreq-cli
CoreFreq CPU Monitoring program

To see all usage options, type the command below:

$ ./corefreq-cli --help
./corefreq-cli --help
CoreFreq.  Copyright (C) 2015-2017 CYRIL INGENIERIE

usage:	corefreq-cli [-option ]
	-t	Show Top (default)
	-d	Show Dashboard
		  arguments:    
	-c	Monitor Counters
	-i	Monitor Instructions
	-s	Print System Information
	-M	Print Memory Controller
	-m	Print Topology
	-u	Print CPUID
	-k	Print Kernel
	-h	Print out this message
Exit status:
0	if OK,
1	if problems,
>1	if serious trouble.

Report bugs to labs[at]cyring.fr
CoreFreq CPU monitor for linux

For more information and usage, visit the CoreFreq Github repository: https://github.com/cyring/CoreFreq

Exit mobile version