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
Tcpdump Examples Linux
Viewed 5579 times since Fri, Nov 16, 2018
“Too many authentication failures” with SSH
Viewed 5216 times since Mon, May 21, 2018
How to retrieve and change partition’s UUID Universally Unique Identifier on linux
Viewed 2628 times since Tue, Jul 17, 2018
INSTALACJA MIB SNMP W SYSTEMIE CENTOS/RHEL 6
Viewed 12635 times since Fri, Nov 30, 2018
BIND for the Small LAN
Viewed 3127 times since Sun, May 20, 2018
RHCS6: Extend an existing Logical Volume / GFS2 filesystem
Viewed 2898 times since Sun, Jun 3, 2018
RHEL: Extending the maximum inode count on a ext2/ext3/ext4 filesystem
Viewed 2760 times since Sun, May 27, 2018
RHCS6: Debug and test multicast traffic between two hosts
Viewed 6242 times since Sun, Jun 3, 2018
How To Run Multiple SSH Command On Remote Machine And Exit Safely
Viewed 3662 times since Tue, Aug 6, 2019
Tilix: Advanced Tiling Terminal Emulator for Power Users
Viewed 5839 times since Thu, Apr 18, 2019