View the hardware model in Linux/centos

Source: Internet
Author: User

In Linux/centos, how does one view Nic models, motherboard models, CPU/graphics card information, hard disk models, and other hardware information?

View Nic Model

[Root@www.ctohome.com] # lspci | grep Ethernet
00:19. 0 Ethernet controller: Intel Corporation 82567v-2 gigabit network connection

The most direct and Common commands for viewing memory and CPU:

[Root@www.ctohome.com] # Free
Total used free shared buffers cached
Mem: 3069504 528876 2540628 0 76648 396152
-/+ Buffers/cache: 56076 3013428
Swap: 5124692 0 5124692

[Root@www.ctohome.com] # Cat/proc/cpuinfo
Processor: 0
Vendor_id: genuineintel
CPU family: 6
Model: 23
Model name: Pentium (r) dual-core CPU e6500 @ 2.93 GHz
Stepping: 10
CPU MHz: 1596.000
Cache size: 2048 KB

View hard disk information (view Hard Disk Model and hard disk serial number ):

[Root@www.ctohome.com] # DF-H.
Filesystem size used avail use % mounted on
/Dev/sda5 2.0g 272 M 1.6g 15%/
/Dev/sda8 199g 188 m 189g 1%/home
/Dev/sda3 9.7g 1.3 GB 7.9g 15%/usr
/Dev/sda2 9.7g 198 m 9.0g 3%/var
/Dev/sda1 99 m 17 M 77 m 18%/boot
 
Method 1:
[Root@www.ctohome.com] # hdparm-I/dev/SDA

/Dev/SDA:

Model = Samsung he251_j, fwrev = 1aj30001, serialno = s2b5j90zc12060
Config = {fixed}
Rawchs = 16383/16/63, trksize = 0, sectsize = 0, eccbytes = 4
Bufftype = unknown, buffsize = 16384kb, maxmultsect = 16, multsect =? 16?
Curchs = 16383/16/63, cursects = 16514064, LBA = Yes, lbasects = 268435455
Iordy = ON/OFF, tpio = {min: 120, W/iordy: 120}, TDMA = {min: 120, REC: 120}
Pio modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
Udma modes: udma0 udma1 udma2
Advancedpm = yes: Disabled (255) writecache = Enabled
Drive conforms to: Unknown: ATA/ATAPI-0 ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5

* Signifies the current active mode

Method 2:

[Root@www.ctohome.com] # dmesg | grep ATA
ATA1: SATA Max udma/133 cmd 0xf190 CTL 0xf180 bmdma 0xf150 IRQ 185
ATA2: SATA Max udma/133 cmd 0xf170 CTL 0xf160 bmdma 0xf158 IRQ 185
ATA1: SATA link up 3.0 Gbps (sStatus 123 scontrol 300)
Ata1.00: ATA-8: Samsung he25213j, 1aj30001, Max udma/133
ATA2: SATA link down (sStatus 0 scontrol 300)
Vendor: ata model: Samsung he251_j Rev: 1aj3
Ata3: SATA Max udma/133 cmd 0xf130 CTL 0xf120 bmdma 0xf0f0 IRQ 185
Ata4: SATA Max udma/133 cmd 0xf110 CTL 0xf100 bmdma 0xf0f8 IRQ 185
Ata3: SATA link down (sStatus 0 scontrol 300)
Ata4: SATA link down (sStatus 0 scontrol 300)
Ata5: Pata Max udma/100 cmd 0xe040 CTL 0xe030 bmdma 0xe000 IRQ 177
 

[Root@www.ctohome.com] #Dmidecode | more
# Dmidecode 2.10
Smbios 2.4 present.
57 structures occupying 2318 bytes.
Table at 0x000e84b0.

Handle 0x0000, DMI Type 0, 24 bytes
BIOS Information
Vendor: Intel Corp.
Version: gtg4310h. 86a. 0019.2009.0625.1334
Release date: 06/25/2009

.....

System Information Server brand
Manufacturer:
Product Name: (no information indicates non-brand or unrecognized)
Version:
Serial number:
UUID: 889bd67e-8d96-11de-ac40-0013d4d9c9e8
Wake-up type: Power Switch
SKU number: Not specified
Family: Not specified

Handle 0x0002, DMI type 2, 15 bytes
Base Board information motherboard model/motherboard Information
Manufacturer: Intel Corporation
Product Name: dg43gt
Version: AAE62768-300
Serial number: btgt9340022n

Processor information CPU information/CPU model/CPU clock speed
Socket Designation: Processor
Type: central processor
Family: Pentium d
Manufacturer: Intel (r) Corp.
ID: 7A 06 01 00 FF FB EB BF
Signature: Type 0, family 6, model 23, stepping 10
Version: Pentium (r) dual-core CPU e6500 @ 2.93 GHz
Voltage: 1.2 V
External clock: 266 MHz
Max speed: 4000 MHz
Current Speed: 2931 MHz
Status: populated, enabled
Upgrade: Socket lga775

Cache Information hardware and CPU Cache
Socket design: L1-Cache
Configuration: enabled, not socketed, level 1
Operational Mode: Write back
Location: Internal
Installed size: 32 KB
Maximum Size: 32 KB

BiOS Language Information BIOS Language
Installable versions ages: 1
En | us | iso8859-1
Currently Installed Language: en | us | iso8859-1

Physical memory array maximum memory available on the motherboard
Location: system board or Motherboard
Use: system memory
Error Correction type: None
Maximum capacity: 16 GB
Error information handle: not provided
Number of devices: 4

Handle 0x002c, DMI type 19, 15 bytes
Memory array mapped address current Memory
Starting address: 0x00000000000
Ending address: 0x000ffffffff
Range size: 4 GB
Physical array handle: 0x002b
Partition width: 0

On board device information graphics card model
Type: Video
Status: Enabled
Description: intelr GMA x4500 video device

How can we determine whether a brand server is not fooled? (If we bought a Dell brand server one day, how can we be sure that it is not fooled ?) :

[Root@www.ctohome.com] #Dmidecode | more (if you can see the Dell model, you can certainly be right)

Handle 0x0100, DMI Type 1, 27 bytes
System Information
Manufacturer: Dell Inc.
Product Name: poweredge t110
Version: Not specified
Serial number: j47rbp1
UUID: 4c4c4544-0034-3710-8052-cac04f000031
Wake-up type: Power Switch
SKU number: Not specified
Family: Not specified

Handle 0x0200, DMI type 2, 9 bytes
Base Board information
Manufacturer: Dell Inc.
Product Name: 0v52n7
Version: A02
Serial number:... cn708210cd0166.
Asset Tag: Not specified

Handle 0x0300, DMI Type 3, 21 bytes
Chassis Information
Manufacturer: Dell Inc.
Type: Main server chassis
Lock: Present
Version: Not specified
Serial number: j47rbp1

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.