Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com
huuphan.com. Powered by Blogger.

How to check CPU in Linux

 In this tutorial, How to you check CPU in Linux system.

 Check CPU information use cat command

$ cat /proc/cpuinfo


Display the CPU architecture information use lscpu command

$ lscpu

The output terminal as below



use cpuid command show x86 CPU

$ cpuid


display Linux hardware information

$ sudo dmidecode processor type


Inxi tool command to display Linux system information

$ inxi -C

The output terminal as below



List Hardware Configuration use lshw tool

$ sudo lshw -C CPU

The output terminal as below



hwinfo is used to extract information about the hardware present on a Linux system

$ hwinfo -cpu


nproc command Printing number of processing units

$ nproc

The output terminal as below


post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com