目的:記錄Linux日常所用命令 [20171222]Linux環境下查看硬體組件型號 cat /proc/cpuinfo及lspci [root@t-redhat-01 ~]# lspci 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX ...
目的:記錄Linux日常所用命令
[20171222]Linux環境下查看硬體組件型號
cat /proc/cpuinfo及lspci
查看CPU [root@t-redhat-01 ~]# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 23 model : 1 model name : AMD Ryzen 7 1700 Eight-Core Processor ->這裡就是CPU型號 stepping : 1 cpu MHz : 2994.370 ->cpu 頻率 cache size : 512 KB fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm up rep_good extd_apicid unfair_spinlock pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm cr8_legacy abm sse4a misalignsse 3dnowprefetch bogomips : 5988.74 TLB size : 2560 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management:
lspci會把所有pci介面硬體型號顯示
[root@t-redhat-01 ~]# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) ->主橋
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] ->ISA 橋
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) ->IDE介面
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter ->VGA相容控制器
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02) ->網卡
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service ->系統外圍組件
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01) ->音頻
00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB ->USB介面
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08) ->橋
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02) ->SATA介面