ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 通过Linux系统查看硬件设备信息

通过Linux系统查看硬件设备信息

原创 Linux操作系统 作者:尛样儿 时间:2011-03-02 17:07:51 0 删除 编辑

#dmidecode | more

1.BIOS信息:
BIOS Information
        Vendor: HP
        Version: O20
        Release Date: 08/17/2010   #BIOS发布日志
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 2048 kB
        Characteristics:
                ISA is supported
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                Print screen service is supported (int 5h)
                Serial services are supported (int 14h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
        BIOS Revision: 8.15   #BIOS版本

2.服务器信息:
System Information
        Manufacturer: HP   #服务器厂商
        Product Name: ProLiant DL180 G6   #服务器型号
        Version:
        Serial Number: CN793902AB
        UUID: DB46ED01-FE8D-11D5-BD73-002655FFFE56
        Wake-up Type: Power Switch
        SKU Number: 487508-AA1
        Family:

3.CPU信息:
Processor Information
        Socket Designation: Proc 1
        Type: Central Processor
        Family: Xeon
        Manufacturer: Intel
        ID: A5 06 01 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 26, Stepping 5
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (Fast floating-point save and restore)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Hyper-threading technology)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz   #CPU型号
        Voltage: 1.0 V
        External Clock: 532 MHz
        Max Speed: 2266 MHz   #CPU最大主频
        Current Speed: 2266 MHz   #CPU当前主频
        Status: Populated, Enabled
        Upgrade:
        L1 Cache Handle: 0x0005
        L2 Cache Handle: 0x0006
        L3 Cache Handle: 0x0007
        Serial Number:
        Asset Tag:
        Part Number:
        Core Count: 4
        Core Enabled: 4
        Thread Count: 8
        Characteristics:
                64-bit capable

4.缓存信息:
Cache Information
        Socket Designation: L1-Cache   #1级缓存
        Configuration: Enabled, Not Socketed, Level 1
        Operational Mode: Write Through
        Location: Internal
        Installed Size: 256 KB   #缓存大小
        Maximum Size: 256 KB
        Supported SRAM Types:
                Other
        Installed SRAM Type: Other
        Speed: Unknown
        Error Correction Type: Parity
        System Type: Instruction
        Associativity: 4-way Set-associative

5.内存信息:
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: Single-bit ECC
        Maximum Capacity: 192 GB   #支持的最大内存
        Error Information Handle: Not Provided
        Number Of Devices: 12   #内存插槽个数

6.电源信息:
System Power Supply
        Power Unit Group: 1
        Location: Bottom PS Bay
        Name: Power Supply 1
        Manufacturer: HP
        Serial Number: 5AQNB0A4DXT2WV
        Asset Tag: 00h
        Model Part Number: 511778-001
        Revision: 00h
        Max Power Capacity: 0.750 W
        Status: Present,
        Type:
        Input Voltage Range Switching:
        Plugged: Yes
        Hot Replaceable: No

7.网卡信息:
HP BIOS NIC PCI and MAC Information
        NIC 1: PCI device 07:00.0, MAC address 18:A9:05:41:45:EA
        NIC 2: PCI device 07:00.1, MAC address 18:A9:05:41:45:EB


8.PCI设备信息(网卡,FC HBA卡都可以通过查看PCI信息得到):
[root@rhelserver ~]# lspci
00:00.0 Host bridge: Intel Corporation 5520 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:09.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 9 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller
02:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1) (rev 02)
06:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
#网卡信息
07:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
07:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)

9.硬盘信息:

[root@homeserver ~]# smartctl -a /dev/sda

smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen

Home page is http://smartmontools.sourceforge.net/


=== START OF INFORMATION SECTION ===

Device Model:     ST3500418AS   #硬盘型号

Serial Number:    5VM32K45        #硬盘序列号

Firmware Version: CC37               #硬盘固件版本

User Capacity:    500,107,862,016 bytes     #硬盘容量

Device is:        Not in smartctl database [for details use: -P showall]

ATA Version is:   8

ATA Standard is:  ATA-8-ACS revision 4

Local Time is:    Mon May 20 23:22:21 2013 CST

SMART support is: Available - device has SMART capability.

SMART support is: Enabled


        参考文档:http://blog.c1gstudio.com/archives/939

--end--



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23135684/viewspace-688281/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle数据库管理员,Oracle数据库系统构架员;2012年7月出版《构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化》一书;Oracle 10g OCM。

注册时间:2010-01-05

  • 博文量
    483
  • 访问量
    5364017