Difference between revisions of "CPU: Info"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 61: | Line 61: | ||
Install Pendukung | Install Pendukung | ||
− | sudo apt-get install dkms git libpthread-stubs0-dev | + | sudo apt-get install dkms git libpthread-stubs0-dev libelf-dev |
Compile | Compile |
Revision as of 09:24, 3 January 2020
lscpu
sudo lscpu
cat /proc/cpuinfo
cat /proc/cpuinfo
cat /proc/cpuinfo | grep 'vendor' | uniq #view vendor name cat /proc/cpuinfo | grep 'model name' | uniq #display model name cat /proc/cpuinfo | grep processor | wc -l #count the number of processing units cat /proc/cpuinfo | grep 'core id' #show individual cores
cpuid
cpuid
dmidecode
sudo dmidecode --type processor
inxi
inxi -C
lshw -c CPU
sudo lshw -C CPU
hardinfo
hardinfo
hwinfo
hwinfo --cpu
nproc
nproc
CoreFreq
Install Pendukung
sudo apt-get install dkms git libpthread-stubs0-dev libelf-dev
Compile
cd /usr/local/src git clone https://github.com/cyring/CoreFreq.git cd CoreFreq make
sudo insmod corefreqk.ko sudo ./corefreqd
Then, start the client, as a user.
./corefreq-cli
$ ./corefreq-cli -h
CoreFreq Options CoreFreq. Copyright (C) 2015-2017 CYRIL INGENIERIE usage: corefreq-cli [-option <arguments>] -t Show Top (default) -d Show Dashboard arguments: <left> <top> <marginWidth> <marginHeight> -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
To print info about the kernel, run:
$ ./corefreq-cli -k
Print CPU identification details:
$ ./corefreq-cli -u
You can as well monitor CPU instructions in real-time:
$ ./corefreq-cli -i
Enable tracing of counters as below:
$ ./corefreq-cli -c