毕业论文

当前位置: 毕业论文 > 范文 >

linux查看硬件信息命令(2)

时间:2021-11-24 20:08来源:优尔论文
Size: 16384 MB Form Factor: DIMM Set: None Locator: PROC 1 DIMM 1 Bank Locator: Not Specified Type: DDR4 Type Detail: Synchronous Registered (Buffered) Speed: 2133 MHz Manufacturer: HP Serial Number:

        Size: 16384 MB

        Form Factor: DIMM

        Set: None

        Locator: PROC 1 DIMM 1

        Bank Locator: Not Specified

        Type: DDR4

        Type Detail: Synchronous Registered (Buffered)

        Speed: 2133 MHz

        Manufacturer: HP     

        Serial Number: Not Specified

        Asset Tag: Not Specified

        Part Number: 752369-081

        Rank: 2

        Configured Clock Speed: 2133 MHz

        Minimum Voltage:  1。2 V

        Maximum Voltage:  1。2 V

        Configured Voltage:  1。2 V

 

[root@Master ~]#

 

 

  (4)查看网卡信息

 

 

 

[root@Master ~]# dmesg | grep -i Ethernet

igb: Intel(R) Gigabit Ethernet Network Driver - version 5。3。0-k

igb 0000:04:00。0: Intel(R) Gigabit Ethernet Network Connection

igb 0000:04:00。1: Intel(R) Gigabit Ethernet Network Connection

igb 0000:04:00。2: Intel(R) Gigabit Ethernet Network Connection

igb 0000:04:00。3: Intel(R) Gigabit Ethernet Network Connection

igb 0000:02:00。0: Intel(R) Gigabit Ethernet Network Connection

igb 0000:02:00。1: Intel(R) Gigabit Ethernet Network Connection 

 

 

(5) 查看pci信息,即主板所有硬件槽信息

 

 

 

[root@Master ~]# lspci | head -10

00:00。0 Host bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DMI2 (rev 02)

00:01。0 PCI bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 1 (rev 02)

00:01。1 PCI bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 1 (rev 02)

00:02。0 PCI bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 2 (rev 02)

00:02。1 PCI bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 2 (rev 02)

00:02。2 PCI bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 2 (rev 02)

00:02。3 PCI bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 2 (rev 02)

00:03。0 PCI bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 3 (rev 02)

00:03。1 PCI bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 3 (rev 02)

00:03。2 PCI bridge: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 3 (rev 02)

 

 

 

 

二、查看CPU信息

 

(1)查看cpu型号

 

[root@Master ~]# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

     40  Intel(R) Xeon(R) CPU E5-2650 v3 @ 2。30GHz

(2)查看系统中实际物理CPU的数量(物理)

 

[root@Master ~]# grep 'physical id' /proc/cpuinfo | sort | uniq | wc -l

2

(3)系统中实际物理CPU的数量(核数)

 

[root@Master ~]# cat /proc/cpuinfo |grep 'processor'|wc -l

40

 (4)查看每个物理CPU中core的个数(即核数) linux查看硬件信息命令(2):http://www.youerw.com/fanwen/lunwen_85480.html

------分隔线----------------------------
推荐内容