Linux下查看CPU信息以及系统信息

 

 

http://bbs.linuxpk.com/redirect.php?tid=33274&goto=lastpo st

 

 

txi@ghosTunix:~$ cat /proc/cpuinfo
processor     : 0
vendor_id     : GenuineIntel
cpu family     : 6
model          : 15
model name     : Intel(R) Core(TM)2 Duo CPU      T7250  @ 2.00GHz
stepping     : 13
cpu MHz          : 800.000
cache size     : 2048 KB
physical id     : 0
siblings     : 2
core id          : 0
cpu cores     : 2
fdiv_bug     : no
hlt_bug          : no
f00f_bug     : no
coma_bug     : no
fpu          : yes
fpu_exception     : yes
cpuid level     : 10
wp          : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mcacmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lmconstant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3cx16 xtpr lahf_lm ida
bogomips     : 3994.00
clflush size     : 64

processor     : 1
vendor_id     : GenuineIntel
cpu family     : 6
model          : 15
model name     : Intel(R) Core(TM)2 Duo CPU      T7250  @ 2.00GHz
stepping     : 13
cpu MHz          : 800.000
cache size     : 2048 KB
physical id     : 0
siblings     : 2
core id          : 1
cpu cores     : 2
fdiv_bug     : no
hlt_bug          : no
f00f_bug     : no
coma_bug     : no
fpu          : yes
fpu_exception     : yes
cpuid level     : 10
wp          : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mcacmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lmconstant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3cx16 xtpr lahf_lm ida
bogomips     : 3990.07
clflush size     : 64

     可以看到,/proc/cpuinfo文件记录了CPU的详细信息 ,查看CPU温度的方法:

txi@ghosTunix:~$ cat /proc/acpi/thermal_zone/TZS0/temperature
temperature:              34 C
txi@ghosTunix:~$ cat /proc/acpi/thermal_zone/TZS1/temperature
temperature:              37 C

     在查询CPU信息的同时,我了解到了一个非常优秀的查看BIOS信息的工具dmidecode

root@ghosTunix:/home/txi# dmidecode
# dmidecode 2.9
SMBIOS 2.4 present.
35 structures occupying 1281 bytes.
Table at 0x7F6DF000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
     Vendor: Phoenix
     Version: F.24
     Release Date: 12/21/2007
     Address: 0xE6600
     Runtime Size: 104960 bytes
     ROM Size: 1024 kB
     Characteristics:
          ISA is supported
          PCI is supported
          PC Card (PCMCIA) is supported
          PNP is supported
          BIOS is upgradeable
          BIOS shadowing is allowed
          ESCD support is available
          Boot from CD is supported
          ACPI is supported
          USB legacy is supported
          AGP is supported
          BIOS boot specification is supported
          Targeted content distribution is supported
     BIOS Revision: 15.36
     Firmware Revision: 128.72

Handle 0x0001, DMI type 1, 27 bytes
System Information
     Manufacturer: Hewlett-Packard
     Product Name: Presario V3700 Notebook PC
     Version: F.24     
     Serial Number: 2CE8014G0S
     UUID: CC1768C0-C27A-11DC-81E8-98E7FA4BA256
     Wake-up Type: Power Switch
     SKU Number: KG568PA#AB2
     Family: 103C_5335KV

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
     Manufacturer: Wistron
     Product Name: 30CD
     Version: 80.48
     Serial Number:            

Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
     Manufacturer: Hewlett-Packard
     Type: Notebook
     Lock: Not Present
     Version: N/A
     Serial Number:            
     Asset Tag:                     
     Boot-up State: Safe
     Power Supply State: Safe
     Thermal State: Safe
     Security Status: None
     OEM Information: 0x00000105

Handle 0x0004, DMI type 4, 35 bytes
Processor Information
     Socket Designation: U2E1
     Type: Central Processor
     Family: Other
     Manufacturer: Intel
     ID: FD 06 00 00 FF FB EB BF
     Version: Intel(R) Core(TM)2 Duo CPU      T7250  
     Voltage: 3.3 V
     External Clock: 667 MHz
     Max Speed: 2000 MHz
     Current Speed: 2000 MHz
     Status: Populated, Enabled
     Upgrade: ZIF Socket
     L1 Cache Handle: 0x0005
     L2 Cache Handle: 0x0006
     L3 Cache Handle: Not Provided
     Serial Number: Not Specified
     Asset Tag: Not Specified
     Part Number: Not Specified

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
     Socket Designation: L1 Cache
     Configuration: Enabled, Socketed, Level 1
     Operational Mode: Write Back
     Location: Internal
     Installed Size: 64 KB
     Maximum Size: 64 KB
     Supported SRAM Types:
          Burst
          Pipeline Burst
          Asynchronous
     Installed SRAM Type: Asynchronous
     Speed: Unknown
     Error Correction Type: Unknown
     System Type: Unknown
     Associativity: Unknown

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
     Socket Designation: L2 Cache
     Configuration: Enabled, Socketed, Level 2
     Operational Mode: Write Back
     Location: Internal
     Installed Size: 2048 KB
     Maximum Size: 4096 KB
     Supported SRAM Types:
          Burst
          Pipeline Burst
          Asynchronous
     Installed SRAM Type: Burst
     Speed: Unknown
     Error Correction Type: Unknown
     System Type: Unknown
     Associativity: Unknown

Handle 0x0007, DMI type 9, 13 bytes
System Slot Information
     Designation: PCMCIA Slot CBUS1
     Type: 32-bit PC Card (PCMCIA)
     Current Usage: Available
     Length: Long
     ID: Adapter 0, Socket 0
     Characteristics:
          5.0 V is provided
          3.3 V is provided
          PC Card-16 is supported
          Cardbus is supported

Handle 0x0008, DMI type 9, 13 bytes
System Slot Information
     Designation: PCI Express Slot J6B1
     Type: 32-bit PCI Express
     Current Usage: In Use
     Length: Long
     ID: 8
     Characteristics:
          5.0 V is provided
          3.3 V is provided

Handle 0x0009, DMI type 9, 13 bytes
System Slot Information
     Designation: PCI Express Slot J8B4
     Type: 32-bit PCI Express
     Current Usage: Available
     Length: Long
     ID: 9
     Characteristics:
          5.0 V is provided
          3.3 V is provided

Handle 0x000A, DMI type 9, 13 bytes
System Slot Information
     Designation: PCI Express Slot J8D1
     Type: 32-bit PCI Express
     Current Usage: In Use
     Length: Long
     ID: 10
     Characteristics:
          5.0 V is provided
          3.3 V is provided

Handle 0x000B, DMI type 9, 13 bytes
System Slot Information
     Designation: PCI Express Slot J7B1
     Type: 32-bit PCI Express
     Current Usage: Unknown
     Length: Long
     ID: 0
     Characteristics:
          5.0 V is provided
          3.3 V is provided

Handle 0x000C, DMI type 10, 6 bytes
On Board Device Information
     Type: Video
     Status: Enabled
     Description: 8 8

Handle 0x000D, DMI type 11, 5 bytes
OEM Strings
     String 1: $HP$
     String 2: ABS 72/73 79 7A 7B 7C
     String 3: LOC#AB2

Handle 0x000E, DMI type 15, 29 bytes
System Event Log
     Area Length: 16 bytes
     Header Start Offset: 0x0000
     Header Length: 16 bytes
     Data Start Offset: 0x0010
     Access Method: General-purpose non-volatile data functions
     Access Address: 0x0000
     Status: Valid, Not Full
     Change Token: 0x000000F4
     Header Format: Type 1
     Supported Log Type Descriptors: 3
     Descriptor 1: POST error
     Data Format 1: POST results bitmap
     Descriptor 2: Single-bit ECC memory error
     Data Format 2: Multiple-event
     Descriptor 3: Multi-bit ECC memory error
     Data Format 3: Multiple-event

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

Handle 0x0010, DMI type 17, 27 bytes
Memory Device
     Array Handle: 0x000F
     Error Information Handle: No Error
     Total Width: 64 bits
     Data Width: 64 bits
     Size: 1024 MB
     Form Factor: SODIMM
     Set: 1
     Locator: M1
     Bank Locator: Bank 0
     Type: DDR2
     Type Detail: Synchronous
     Speed: 667 MHz (1.5 ns)
     Manufacturer: Mfg 0
     Serial Number: 1234-B0
     Asset Tag: Not Specified
     Part Number: SODIMM000

Handle 0x0011, DMI type 17, 27 bytes
Memory Device
     Array Handle: 0x000F
     Error Information Handle: No Error
     Total Width: 64 bits
     Data Width: 64 bits
     Size: 1024 MB
     Form Factor: SODIMM
     Set: 1
     Locator: M2
     Bank Locator: Bank 1
     Type: DDR2
     Type Detail: Synchronous
     Speed: 667 MHz (1.5 ns)
     Manufacturer: Mfg 1
     Serial Number: 1234-B1
     Asset Tag: Not Specified
     Part Number: SODIMM001

Handle 0x0012, DMI type 19, 15 bytes
Memory Array Mapped Address
     Starting Address: 0x00000000000
     Ending Address: 0x0007FFFFFFF
     Range Size: 2 GB
     Physical Array Handle: 0x000F
     Partition Width: 0

Handle 0x0013, DMI type 20, 19 bytes
Memory Device Mapped Address
     Starting Address: 0x00000000000
     Ending Address: 0x0007FFFFFFF
     Range Size: 2 GB
     Physical Device Handle: 0x0010
     Memory Array Mapped Address Handle: 0x0012
     Partition Row Position: 1

Handle 0x0014, DMI type 22, 26 bytes
Portable Battery
     Location: Rear
     Manufacturer: Intel Corporation
     Name: Intel Corporation
     Chemistry: Lithium Ion
     Design Capacity: 1000 mWh
     Design Voltage: 19 mV
     SBDS Version: BATT_1234
     Maximum Error: 100%
     SBDS Serial Number: 0001
     SBDS Manufacture Date: 1980-00-01
     OEM-specific Information: 0x00000000

Handle 0x0015, DMI type 23, 13 bytes
System Reset
     Status: Enabled
     Watchdog Timer: Present
     Boot Option: Do Not Reboot
     Boot Option On Limit: Do Not Reboot
     Reset Count: Unknown
     Reset Limit: Unknown
     Timer Interval: Unknown
     Timeout: Unknown

Handle 0x0016, DMI type 24, 5 bytes
Hardware Security
     Power-On Password Status: Disabled
     Keyboard Password Status: Unknown
     Administrator Password Status: Enabled
     Front Panel Reset Status: Unknown

Handle 0x0017, DMI type 25, 9 bytes
     System Power Controls
     Next Scheduled Power-on: 12-31 23:59:59

Handle 0x0018, DMI type 26, 20 bytes
Voltage Probe
     Description: Voltage Probe
     Location: Processor
     Status: OK
     Maximum Value: Unknown
     Minimum Value: Unknown
     Resolution: Unknown
     Tolerance: Unknown
     Accuracy: Unknown
     OEM-specific Information: 0x00000000

Handle 0x0019, DMI type 27, 12 bytes
Cooling Device
     Temperature Probe Handle: 0x001A
     Type: Fan
     Status: OK
     OEM-specific Information: 0x00000000

Handle 0x001A, DMI type 28, 20 bytes
Temperature Probe
     Description: Temperature Probe
     Location: Processor
     Status: OK
     Maximum Value: Unknown
     Minimum Value Unknown
     Resolution: Unknown
     Tolerance: Unknown
     Accuracy: Unknown
     OEM-specific Information: 0x00000000

Handle 0x001B, DMI type 29, 20 bytes
Electrical Current Probe
     Description: Electrical Current Probe
     Location: Processor
     Status: OK
     Maximum Value: Unknown
     Minimum Value: Unknown
     Resolution: Unknown
     Tolerance: Unknown
     Accuracy: Unknown
     OEM-specific Information: 0x00000000

Handle 0x001C, DMI type 30, 6 bytes
Out-of-band Remote Access
     Manufacturer Name: Intel
     Inbound Connection: Enabled
     Outbound Connection: Disabled

Handle 0x001D, DMI type 32, 20 bytes
System Boot Information
     Status: <OUT OF SPEC>

Handle 0x001E, DMI type 129, 10 bytes
OEM-specific Type
     Header and Data:
          81 0A 1E 00 01 01 02 01 01 02
     Strings:
          Intel_ASF
          Intel_ASF_001

Handle 0x001F, DMI type 136, 6 bytes
OEM-specific Type
     Header and Data:
          88 06 1F 00 5A 5A

Handle 0x0020, DMI type 150, 14 bytes
OEM-specific Type
     Header and Data:
          96 0E 20 00 01 01 00 00 00 00 00 00 00 00
     Strings:
          ABSOLUTE(PHOENIX) CLM

Handle 0x0021, DMI type 200, 7 bytes
OEM-specific Type
     Header and Data:
          C8 07 21 00 01 02 03
     Strings:
          17C0
                        
          0001

Handle 0x0022, DMI type 127, 4 bytes
End Of Table

 

 

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值