bestlong 怕失憶論壇

 

 

搜索
bestlong 怕失憶論壇 論壇 Linux 在 Linux 查詢硬體資訊
查看: 5732|回復: 1
go

在 Linux 查詢硬體資訊 [複製鏈接]

Rank: 9Rank: 9Rank: 9

1#
發表於 2012-2-5 17:05 |只看該作者 |倒序瀏覽 |打印
可以使用 dmidecode 命令來處理

查詢 CPU 規格

[root@www ~]# dmidecode -t processor
# dmidecode 2.10
SMBIOS 2.3 present.

Handle 0x0004, DMI type 4, 32 bytes
Processor Information
        Socket Designation: PGA 478
        Type: Central Processor
        Family: Pentium 4
        Manufacturer: GenuineIntel
        ID: 27 0F 00 00 FF FB EB BF
        Signature: Type 0, Family 15, Model 2, Stepping 7
        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) Pentium(R) 4
        Voltage: 1.5 V
        External Clock: 133 MHz
        Max Speed: 3200 MHz
        Current Speed: 2400 MHz
        Status: Populated, Enabled
        Upgrade: ZIF Socket
        L1 Cache Handle: 0x0008
        L2 Cache Handle: 0x0009
        L3 Cache Handle: 0x000A

[root@www ~]#


查詢記憶體規格

[root@www ~]# dmidecode -t memory
# dmidecode 2.10
SMBIOS 2.3 present.

Handle 0x0005, DMI type 5, 20 bytes
Memory Controller Information
        Error Detecting Method: None
        Error Correcting Capabilities:
                None
        Supported Interleave: Unknown
        Current Interleave: Unknown
        Maximum Memory Module Size: 1024 MB
        Maximum Total Memory Size: 2048 MB
        Supported Speeds:
                70 ns
                60 ns
                50 ns
        Supported Memory Types:
                DIMM
                SDRAM
        Memory Module Voltage: 3.3 V
        Associated Memory Slots: 2
                0x0006
                0x0007
        Enabled Error Correcting Capabilities:
                Unknown

Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
        Socket Designation: DIMM 1
        Bank Connections: 0 1
        Current Speed: Unknown
        Type: DIMM SDRAM
        Installed Size: 1024 MB (Double-bank Connection)
        Enabled Size: 1024 MB (Double-bank Connection)
        Error Status: OK

Handle 0x0007, DMI type 6, 12 bytes
Memory Module Information
        Socket Designation: DIMM 2
        Bank Connections: 2 3
        Current Speed: Unknown
        Type: DIMM SDRAM
        Installed Size: Not Installed
        Enabled Size: Not Installed
        Error Status: OK

Handle 0x0025, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 1 GB
        Error Information Handle: Not Provided
        Number Of Devices: 2

Handle 0x0026, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x0025
        Error Information Handle: No Error
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 1024 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM 1
        Bank Locator: Not Specified
        Type: DRAM
        Type Detail: Synchronous
        Speed: Unknown

Handle 0x0027, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x0025
        Error Information Handle: No Error
        Total Width: Unknown
        Data Width: Unknown
        Size: No Module Installed
        Form Factor: DIMM
        Set: 2
        Locator: DIMM 2
        Bank Locator: Not Specified
        Type: DRAM
        Type Detail: Synchronous
        Speed: Unknown

[root@www ~]#
我是雪龍
http://blog.bestlong.idv.tw
http://www.bestlong.idv.tw

Rank: 9Rank: 9Rank: 9

2#
發表於 2012-2-5 17:06 |只看該作者
可以用 biosdecode 來查詢 BIOS 的資訊

[root@www ~]# biosdecode
# biosdecode 2.10
PCI Interrupt Routing 1.0 present.
        Router ID: 00:02.0
        Exclusive IRQs: None
        Compatible Router: 1039:0962
        Slot Entry 1: ID 01:00, slot number 4
        Slot Entry 2: ID 00:02, on-board
        Slot Entry 3: ID 00:03, on-board
        Slot Entry 4: ID 00:0e, slot number 1
        Slot Entry 5: ID 00:0f, slot number 2
        Slot Entry 6: ID 00:10, slot number 3
        Slot Entry 7: ID 00:04, on-board
BIOS32 Service Directory present.
        Revision: 0
        Calling Interface Address: 0x000F0FF0
SMBIOS 2.3 present.
        Structure Table Length: 1267 bytes
        Structure Table Address: 0x000F2B40
        Number Of Structures: 45
        Maximum Structure Size: 93 bytes
ACPI 1.0 present.
        OEM Identifier: ASUS
        RSD Table 32-bit Address: 0x3DFFC000
PNP BIOS 1.0 present.
        Event Notification: Not Supported
        Real Mode 16-bit Code Address: F000:9490
        Real Mode 16-bit Data Address: F000:0000
        16-bit Protected Mode Code Address: 0x000F9470
        16-bit Protected Mode Data Address: 0x000F0000
        OEM Device Identifier: PNP0C00
[root@www ~]#
我是雪龍
http://blog.bestlong.idv.tw
http://www.bestlong.idv.tw
‹ 上一主題|下一主題

Archiver|怕失憶論壇

GMT+8, 2024-4-26 15:32 , Processed in 0.010064 second(s), 10 queries .

Powered by Discuz! X1.5

© 2001-2010 Comsenz Inc.