CPU: Info: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs) Created page with " sudo lscpu ==Pranala Menarik== * CPU" |
Onnowpurbo (talk | contribs) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==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 | |||
Start Server | |||
sudo insmod corefreqk.ko | |||
sudo ./corefreqd | |||
Start the client | |||
./corefreq-cli | |||
Catatan tambahan | |||
$ ./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 | |||
==Pranala Menarik== | ==Pranala Menarik== | ||
* [[CPU]] | * [[CPU]] | ||
Latest revision as of 02:26, 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
Start Server
sudo insmod corefreqk.ko sudo ./corefreqd
Start the client
./corefreq-cli
Catatan tambahan
$ ./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