Собрать информацию о железе в Linux можно командой dmidecode.

# установка на CentOS
yum install dmidecode

# установка на Debian
apt-get install dmidecode

# Запрос списка групп, по которым есть информация
dmidecode -t

> Valid type keywords are:
>   bios
>   system
>   baseboard
>   chassis
>   processor
>   memory
>   cache
>   connector
>   slot

# Пример запроса информации о процессоре
dmidecode -t processor

> SMBIOS 2.5 present.
> 
> Handle 0x0032, DMI type 4, 40 bytes
> Processor Information
> 	Socket Designation: Intel(R) Genuine processor
> 	Type: Central Processor
> 	Family: Xeon
> 	Manufacturer: Intel(R) Corporation
> 	ID: FB 06 00 00 FF FB EB BF
> 	Signature: Type 0, Family 6, Model 15, Stepping 11
> 	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 (FXSAVE and FXSTOR instructions supported)
> 		SSE (Streaming SIMD extensions)
> 		SSE2 (Streaming SIMD extensions 2)
> 		SS (Self-snoop)
> 		HTT (Multi-threading)
> 		TM (Thermal monitor supported)
> 		PBE (Pending break enabled)
> 	Version: Intel(R) Xeon(R) CPU           X3220  @ 2.40GHz
> 	Voltage: 1.2 V
> 	External Clock: 1066 MHz
> 	Max Speed: 2400 MHz
> 	Current Speed: 2400 MHz
> 	Status: Populated, Enabled
> 	Upgrade: Socket LGA775
> 	L1 Cache Handle: 0x0034
> 	L2 Cache Handle: 0x0033
> 	L3 Cache Handle: Not Provided
> 	Serial Number: Not Specified
> 	Asset Tag: Intel(R) Genuine processor
> 	Part Number: Not Specified
> 	Core Count: 4
> 	Core Enabled: 4
> 	Thread Count: 4
> 	Characteristics:
> 		64-bit capable
Отмечено:

Добавить комментарий