Pustaka Taratsa

Baca teks (EPUB): CPU: Info

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. CPU: Info
  2. lscpu
  3. cat /proc/cpuinfo
  4. cpuid
  5. dmidecode
  6. inxi
  7. lshw -c CPU
  8. hardinfo
  9. hwinfo
  10. nproc
  11. CoreFreq
  12. Pranala Menarik

CPU: Info

Sumber: https://onnocenter.or.id/wiki/index.php/CPU:_Info

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