Linux - How to get CPU information

Linux - How to get CPU information

 
Question : How to show information of CPU in Linux?
Answer : Command dmidecode with option "t" followed by parameter "processor" could be used to show hardware information related to CPU in Linux.
Example :
[root@server ~]# dmidecode -t processor


Question : How to show number of processor in Linux?
Answer : Command dmidecode with option "t" followed by parameter "processor" could be used to show hardware information related to CPU in Linux. Search for keyword "proc".
Example :
[root@server ~]# dmidecode -t processor|grep -i "proc "|wc -l


Question : How to get machine's model and serial number from Linux operating system?
Answer : Use dmidecode command with option "t" and parameter "1" to display machine's model and serial number information.
Example :
[root@server ~]# dmidecode -t 1
# dmidecode 2.11
SMBIOS 2.6 present.


Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: HP
Product Name: ProLiant DL380 G6
Version: Not Specified
Serial Number: GB8003FKP9
UUID: 33343934-3932-4247-3830-3033464B5039
Wake-up Type: Power Switch
SKU Number: 494329-B21
Family: ProLiant

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
RHEL: Retrieve and generate a unique SCSI identifier
Viewed 3889 times since Sat, Jun 2, 2018
RHCS6: Show/Add GFS2/GFS journals
Viewed 13305 times since Sun, Jun 3, 2018
An easier way to manage disk decryption at boot with Red Hat Enterprise Linux 7.5 using NBDE
Viewed 8455 times since Mon, Aug 6, 2018
LUKS List available methods of encryption for LUKS
Viewed 3560 times since Fri, Jul 13, 2018
RHCS6: Create a new Logical Volume / Global Filesystem 2 (GFS2)
Viewed 2913 times since Sun, Jun 3, 2018
ZFS: Verify/change properties of a zfs filesystem
Viewed 3202 times since Sun, Jun 3, 2018
www.unixarena.com
Viewed 2928 times since Fri, Jul 27, 2018
ZFS: Remove an existing zfs filesystem
Viewed 2646 times since Sun, Jun 3, 2018
Linux Chage Command to Set Password Aging for User
Viewed 3090 times since Tue, Sep 11, 2018
SSL HowTo: Decode CSR
Viewed 5629 times since Mon, Feb 18, 2019