Check Hardware Information from CentOS

Posted by cikul | Posted in Linux | Posted on 11-06-2008-05-2008


This info not just for CentOS, but another Linux distros maybe have same command to show hardware information.

To check hardware information, we can get from DMI (or some say SMBIOS), DMI is short for Desktop Management Interface. An API to enable software to collect information about computer environtment.

To list all PCI device we can use command :

root@shell [~]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M900 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. Unknown device 6364
00:00.7 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge


and for hardware information :

root@shell [~]# dmidecode | more
# dmidecode 2.7
SMBIOS 2.4 present.
31 structures occupying 923 bytes.
Table at 0x000F0000.

Handle 0x0000, DMI type 0, 24 bytes.

Processor Information
Socket Designation: Socket 775
Type: Central Processor
Family: Pentium 4
Manufacturer: Intel
ID: 41 0F 00 00 FF FB EB BF
Signature: Type 0, Family 15, Model 4, Stepping 1
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)

Memory Controller Information
Error Detecting Method: None
Error Correcting Capabilities:
Supported Interleave: One-way Interleave
Current Interleave: Four-way Interleave
Maximum Memory Module Size: 2048 MB
Maximum Total Memory Size: 4096 MB

note : cause information from dmidecode considerable, i prefer to display some of important information that we get from dmidecode.

From the result, we does not only get description what the system is currently made of, but it also can report the possible evolutions (such as the fastest supported CPU or the maximal amount of memory supported).

Incoming search terms:

centos hardware info | CentOS check hardware | centos hardware information | centos show hardware | hardware info centos | centos view hardware | check hardware centos | centos hardware checks | check hardware on centos | centos hardware check | 

Comments posted (3)

[…] Magnet BlogNew software uses facial recognition to defend against prying eyesZahipediaDhika Cikul /* […]

[…] Linux, you can easily check CPU & Memory info using /proc/cpuinfo and /proc/meminfo, or you can check hardware information using lspci or […]

Hi, thanks for this, first time inlatsling CentOS (always been Ubuntu up til now, wanted to try something else). Ran into this problem. installed 3.6 as above via network. 30Mb line. Not too slow at all

Write a comment