https://zhidao.baidu.com/question/192966322.html
写出ubuntu linux系统中查看本机cpu和内存信息的命令和用法,以及如何解读这些命令
大文实验室/大文哥
壹捌陆捌零陆捌捌陆捌贰
21504965 AT qq.com
完成时间:2017/12/11 13:46
版本:V1.0
匿名 | 浏览 36342 次 问题未开放回答 |举报
推荐于2017-11-28 07:20:35 最佳答案
查看cpu信息
cat /proc/cpuinfo
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ cat /proc/cpuinfo
processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 62
model name: Intel(R) Core(TM) i7-4930K cpu @ 3.40GHz
stepping: 4
microcode: 0x416
cpu MHz: 1200.000
cache size: 12288 KB
physical idsiblings: 12
core idcpu coresapicidinitial apicidfpu: yes
fpu_exceptioncpuid level: 13
wpda arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips: 6803.50
clflush size: 64
cache_alignmentaddress sizes: 46 bits physical,48 bits virtual
power management:
: 1
: 2
: 3
: 8
: 5
: 10
: 7
: 9
: 11
power management:
rootroot@cm-System-Product-Name:~$
显示当前硬件信息
sudo lshw
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo lshw
[sudo] password for rootroot:
cm-system-product-name
description: Desktop Computer
product: System Product Name (SKU)
vendor: System manufacturer
version: System Version
serial: System Serial Number
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 vsyscall32
configuration: boot=normal chassis=desktop family=To be filled by O.E.M. sku=SKU uuid=80FC001E-8C00-0072-AD7C-382C4AC53500
*-core
description: Motherboard
product: P9X79 WS
vendor: ASUSTeK COMPUTER INC.
physical id: 0
version: Rev 1.xx
serial: 140932583400049
slot: To be filled by O.E.M.
*-firmware
description: BIOS
vendor: American Megatrends Inc.
version: 4701
date: 08/26/2014
size: 64KiB
capacity: 8128KiB
cation uefi
*-cpu
description: cpu
product: Intel(R) Core(TM) i7-4930K cpu @ 3.40GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: Intel(R) Core(TM) i7-4930K cpu @ 3.40GHz
serial: To Be Filled By O.E.M.
slot: LGA2011
size: 1200MHz
capacity: 4GHz
clock: 100MHz
e avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms cpufreq
configuration: cores=6 enabledcores=6 threads=12
*-cache:0
description: L1 cache
physical id: 5
slot: L1-Cache
size: 32KiB
capacity: 32KiB
capabilities: internal write-back unified
*-cache:1
description: L2 cache
physical id: 6
slot: L2-Cache
size: 256KiB
capacity: 256KiB
capabilities: internal varies unified
*-cache:2
description: L3 cache
physical id: 7
slot: L3-Cache
size: 12MiB
capacity: 12MiB
*-memory
description: System Memory
physical id: 31
slot: System board or motherboard
size: 16GiB
*-bank:0
Launchpad (build 18147) Synchronous [empty]
product: ChannelA_Dimm1_PartNum
vendor: ChannelA_Dimm1_Manufacturer
serial: ChannelA_Dimm1_SerNum
slot: ChannelA_Dimm1
*-bank:1
product: ChannelA_Dimm2_PartNum
vendor: ChannelA_Dimm2_Manufacturer
physical id: 1
serial: ChannelA_Dimm2_SerNum
slot: ChannelA_Dimm2
*-bank:2
product: ChannelB_Dimm1_PartNum
vendor: ChannelB_Dimm1_Manufacturer
physical id: 2
serial: ChannelB_Dimm1_SerNum
slot: ChannelB_Dimm1
*-bank:3
product: ChannelB_Dimm2_PartNum
vendor: ChannelB_Dimm2_Manufacturer
physical id: 3
serial: ChannelB_Dimm2_SerNum
slot: ChannelB_Dimm2
*-bank:4
description: DIMM DDR3 Synchronous 1866 MHz (0.5 ns)
product: M391B1G73QH0-CMA
vendor: Samsung
serial: 133D751E
slot: ChannelC_Dimm1
size: 8GiB
clock: 1866MHz (0.5ns)
*-bank:5
product: ChannelC_Dimm2_PartNum
vendor: ChannelC_Dimm2_Manufacturer
serial: ChannelC_Dimm2_SerNum
slot: ChannelC_Dimm2
*-bank:6
serial: 133D75BB
slot: ChannelD_Dimm1
*-bank:7
product: ChannelD_Dimm2_PartNum
vendor: ChannelD_Dimm2_Manufacturer
serial: ChannelD_Dimm2_SerNum
slot: ChannelD_Dimm2
*-pci
description: Host bridge
product: Xeon E7 v2/Xeon E5 v2/Core i7 DMI2
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 04
width: 32 bits
clock: 33MHz
*-pci:0
description: PCI bridge
product: Xeon E7 v2/Xeon E5 v2/Core i7 PCI Express Root Port 1a
bus info: pci@0000:00:01.0
capabilities: pci msi pciexpress pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:26
*-pci:1
product: Xeon E7 v2/Xeon E5 v2/Core i7 PCI Express Root Port 1b
physical id: 1.1
bus info: pci@0000:00:01.1
*-pci:2
product: Xeon E7 v2/Xeon E5 v2/Core i7 PCI Express Root Port 2a
bus info: pci@0000:00:02.0
resources: irq:32 ioport:e000(size=4096) memory:fa000000-fb0fffff ioport:c0000000(size=301989888)
*-display
description: VGA compatible controller
product: GT218 [GeForce 210]
vendor: NVIDIA Corporation
bus info: pci@0000:01:00.0
version: a2
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:88 memory:fa000000-faffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:fb000000-fb07ffff
*-multimedia
description: Audio device
product: High Definition Audio Controller
physical id: 0.1
bus info: pci@0000:01:00.1
version: a1
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:36 memory:fb080000-fb083fff
*-pci:3
product: Xeon E7 v2/Xeon E5 v2/Core i7 PCI Express Root Port 3a
bus info: pci@0000:00:03.0
resources: irq:40
*-generic:0 UNCLAIMED
description: System peripheral
product: Xeon E7 v2/Xeon E5 v2/Core i7 VTd/Memory Map/Misc
bus info: pci@0000:00:05.0
capabilities: pciexpress cap_list
configuration: latency=0
*-generic:1 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 IIO RAS
physical id: 5.2
bus info: pci@0000:00:05.2
*-generic:2 UNCLAIMED
description: PIC
product: Xeon E7 v2/Xeon E5 v2/Core i7 IOAPIC
physical id: 5.4
bus info: pci@0000:00:05.4
capabilities: pciexpress pm io_x_-apic bus_master cap_list
resources: memory:fb62a000-fb62afff
*-pci:4
product: C600/X79 series chipset PCI Express Virtual Root Port
physical id: 11
bus info: pci@0000:00:11.0
version: 06
capabilities: pci pciexpress pm msi normal_decode bus_master cap_list
resources: irq:16
*-communication
description: Communication controller
product: C600/X79 series chipset MEI Controller #1
physical id: 16
bus info: pci@0000:00:16.0
version: 05
capabilities: pm msi bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:86 memory:fb629000-fb62900f
*-network
description: Ethernet interface
product: 82579V Gigabit Network Connection
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
serial: 38:2c:4a:c5:35:00
capacity: 1Gbit/s
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-4 latency=0 link=no multicast=yes port=twisted pair
resources: irq:82 memory:fb600000-fb61ffff memory:fb628000-fb628fff ioport:f040(size=32)
*-usb:0
description: USB controller
product: C600/X79 series chipset USB2 Enhanced Host Controller #2
physical id: 1a
bus info: pci@0000:00:1a.0
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:23 memory:fb627000-fb6273ff
product: C600/X79 series chipset High Definition Audio Controller
physical id: 1b
bus info: pci@0000:00:1b.0
resources: irq:87 memory:fb620000-fb623fff
*-pci:5
product: C600/X79 series chipset PCI Express Root Port 1
physical id: 1c
bus info: pci@0000:00:1c.0
version: b6
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
resources: irq:17
*-pci:6
product: C600/X79 series chipset PCI Express Root Port 2
physical id: 1c.1
bus info: pci@0000:00:1c.1
resources: irq:16 ioport:d000(size=4096) memory:fb500000-fb5fffff
*-firewire
description: FireWire (IEEE 1394)
product: VT6315 Series Firewire Controller
vendor: VIA Technologies,Inc.
bus info: pci@0000:07:00.0
version: 01
capabilities: pm msi pciexpress ohci bus_master cap_list
configuration: driver=firewire_ohci latency=0
resources: irq:17 memory:fb500000-fb5007ff ioport:d000(size=256)
*-pci:7
product: C600/X79 series chipset PCI Express Root Port 3
physical id: 1c.2
bus info: pci@0000:00:1c.2
resources: irq:18 ioport:c000(size=4096) memory:fb400000-fb4fffff
*-storage
description: SATA controller
product: 88SE9128 PCIe SATA 6 Gb/s RAID controller with HyperDuo
vendor: Marvell Technology Group Ltd.
bus info: pci@0000:08:00.0
version: 11
capabilities: storage pm msi pciexpress ahci_1.0 bus_master cap_list rom
configuration: driver=ahci latency=0
resources: irq:81 ioport:c040(size=8) ioport:c030(size=4) ioport:c020(size=8) ioport:c010(size=4) ioport:c000(size=16) memory:fb410000-fb4107ff memory:fb400000-fb40ffff
*-pci:8
product: C600/X79 series chipset PCI Express Root Port 5
physical id: 1c.4
bus info: pci@0000:00:1c.4
resources: irq:17 memory:fb300000-fb3fffff
*-usb
product: ASM1042A USB 3.0 Host Controller
vendor: ASMedia Technology Inc.
bus info: pci@0000:09:00.0
version: 00
capabilities: msi msix pm pciexpress xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:16 memory:fb300000-fb307fff
*-pci:9
product: C600/X79 series chipset PCI Express Root Port 6
physical id: 1c.5
bus info: pci@0000:00:1c.5
resources: irq:16 memory:fb200000-fb2fffff
bus info: pci@0000:0a:00.0
resources: irq:17 memory:fb200000-fb207fff
*-pci:10
product: C600/X79 series chipset PCI Express Root Port 8
physical id: 1c.7
bus info: pci@0000:00:1c.7
resources: irq:19 ioport:b000(size=4096) memory:fb100000-fb1fffff
product: 82574L Gigabit Network Connection
bus info: pci@0000:0b:00.0
logical name: eth1
serial: 54:a0:50:84:ef:10
size: 100Mbit/s
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k duplex=full firmware=2.1-3 ip=192.168.0.88 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:19 memory:fb100000-fb11ffff ioport:b000(size=32) memory:fb120000-fb123fff
*-usb:1
product: C600/X79 series chipset USB2 Enhanced Host Controller #1
physical id: 1d
bus info: pci@0000:00:1d.0
resources: irq:23 memory:fb626000-fb6263ff
*-pci:11
product: 82801 PCI Bridge
physical id: 1e
bus info: pci@0000:00:1e.0
version: a6
capabilities: pci subtractive_decode bus_master cap_list
*-isa
description: ISA bridge
product: C600/X79 series chipset LPC Controller
physical id: 1f
bus info: pci@0000:00:1f.0
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
product: C600/X79 series chipset 6-Port SATA AHCI Controller
physical id: 1f.2
bus info: pci@0000:00:1f.2
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list
resources: irq:80 ioport:f090(size=8) ioport:f080(size=4) ioport:f070(size=8) ioport:f060(size=4) ioport:f020(size=32) memory:fb625000-fb6257ff
*-serial UNCLAIMED
description: SMBus
product: C600/X79 series chipset SMBus Host Controller
physical id: 1f.3
bus info: pci@0000:00:1f.3
resources: memory:fb624000-fb6240ff ioport:f000(size=32)
product: Xeon E7 v2/Xeon E5 v2/Core i7 QPI Link 0
physical id: 8
bus info: pci@0000:ff:08.0
product: Xeon E7 v2/Xeon E5 v2/Core i7 QPI Link 1
physical id: 9
bus info: pci@0000:ff:09.0
product: Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 0
physical id: a
bus info: pci@0000:ff:0a.0
*-generic:3 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 1
physical id: a.1
bus info: pci@0000:ff:0a.1
*-generic:4 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 2
physical id: a.2
bus info: pci@0000:ff:0a.2
*-generic:5 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 3
physical id: a.3
bus info: pci@0000:ff:0a.3
*-generic:6 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 UBox Registers
physical id: b
bus info: pci@0000:ff:0b.0
*-generic:7 UNCLAIMED
physical id: b.3
bus info: pci@0000:ff:0b.3
*-generic:8 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers
physical id: c
bus info: pci@0000:ff:0c.0
*-generic:9 UNCLAIMED
physical id: c.1
bus info: pci@0000:ff:0c.1
*-generic:10 UNCLAIMED
physical id: c.2
bus info: pci@0000:ff:0c.2
*-generic:11 UNCLAIMED
physical id: d
bus info: pci@0000:ff:0d.0
*-generic:12 UNCLAIMED
physical id: d.1
bus info: pci@0000:ff:0d.1
*-generic:13 UNCLAIMED
physical id: d.2
bus info: pci@0000:ff:0d.2
*-generic:14 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Home Agent 0
physical id: e
bus info: pci@0000:ff:0e.0
*-generic:15
description: Performance counters
physical id: e.1
bus info: pci@0000:ff:0e.1
configuration: driver=ivt_uncore latency=0
*-generic:16 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Target Address/Thermal Registers
physical id: f
bus info: pci@0000:ff:0f.0
*-generic:17 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 RAS Registers
physical id: f.1
bus info: pci@0000:ff:0f.1
*-generic:18 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder Registers
physical id: f.2
bus info: pci@0000:ff:0f.2
*-generic:19 UNCLAIMED
physical id: f.3
bus info: pci@0000:ff:0f.3
*-generic:20 UNCLAIMED
physical id: f.4
bus info: pci@0000:ff:0f.4
*-generic:21 UNCLAIMED
physical id: f.5
bus info: pci@0000:ff:0f.5
*-generic:22
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 0
physical id: 10
bus info: pci@0000:ff:10.0
*-generic:23
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 1
physical id: 10.1
bus info: pci@0000:ff:10.1
*-generic:24 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 0
physical id: 10.2
bus info: pci@0000:ff:10.2
*-generic:25 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 1
physical id: 10.3
bus info: pci@0000:ff:10.3
*-generic:26
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 2
physical id: 10.4
bus info: pci@0000:ff:10.4
*-generic:27
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 3
physical id: 10.5
bus info: pci@0000:ff:10.5
*-generic:28 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 2
physical id: 10.6
bus info: pci@0000:ff:10.6
*-generic:29 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 3
physical id: 10.7
bus info: pci@0000:ff:10.7
*-generic:30 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 R2PCIe
physical id: 13
bus info: pci@0000:ff:13.0
*-generic:31
physical id: 13.1
bus info: pci@0000:ff:13.1
*-generic:32 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 QPI Ring Registers
physical id: 13.4
bus info: pci@0000:ff:13.4
*-generic:33
product: Xeon E7 v2/Xeon E5 v2/Core i7 QPI Ring Performance Ring Monitoring
physical id: 13.5
bus info: pci@0000:ff:13.5
*-generic:34 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 System Address Decoder
bus info: pci@0000:ff:16.0
*-generic:35 UNCLAIMED
product: Xeon E7 v2/Xeon E5 v2/Core i7 Broadcast Registers
physical id: 16.1
bus info: pci@0000:ff:16.1
*-generic:36 UNCLAIMED
physical id: 16.2
bus info: pci@0000:ff:16.2
*-scsi:0
logical name: scsi0
capabilities: emulated
*-disk
description: ATA Disk
product: ST2000NM0033-9ZM
vendor: Seagate
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: SN04
serial: S1X096FL
size: 1863GiB (2TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 sectorsize=512 signature=00027761
*-volume
description: Extended partition
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
size: 1863GiB
capacity: 1863GiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume
description: Linux filesystem partition
logical name: /dev/sda5
logical name: /home
configuration: mount.fstype=ext4 mount.options=rw,relatime,data=ordered state=mounted
*-scsi:1
logical name: scsi2
description: EXT4 volume
product: ST2000DM001-1ER1
vendor: Linux
bus info: scsi@2:0.0.0
logical name: /dev/sdb
logical name: /home/cb2t1651
version: 1.0
serial: cf6a81ea-35d6-4031-939d-5cbea4117e36
capabilities: journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
=2017-12-11 08:57:51 sectorsize=4096 state=mounted
*-scsi:2
logical name: scsi4
product: ST3000VX000-1ES1
bus info: scsi@4:0.0.0
logical name: /dev/sdc
logical name: /home/rediron
serial: ed3cc8a5-df33-41b0-961a-b0d07b9a54de
size: 2794GiB
2017-12-11 08:57:51 sectorsize=4096 state=mounted
*-scsi:3
logical name: scsi6
product: INTEL SSDSC2BW24
bus info: scsi@6:0.0.0
logical name: /dev/sdd
version: DC32
size: 223GiB (240GB)
configuration: ansiversion=5 sectorsize=512 signature=00058aad
*-volume:0
bus info: scsi@6:0.0.0,255)">logical name: /dev/sdd1
size: 202GiB
capacity: 202GiB
*-logicalvolume:0
logical name: /dev/sdd5
logical name: /boot
capacity: 244MiB
*-logicalvolume:1
description: Linux swap / Solaris partition
logical name: /dev/sdd6
capacity: 4578MiB
capabilities: nofs
*-logicalvolume:2
logical name: /dev/sdd7
logical name: /home/wwt
capacity: 197GiB
*-volume:1
logical name: /dev/sdd2
logical name: /
serial: ef4a9a3d-a8a7-476d-b85c-ebc1eaf7ec75
size: 21GiB
capacity: 21GiB
capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
12-11 08:57:50 state=mounted
*-scsi:4
logical name: scsi13
*-processor UNCLAIMED
description: SCSI Processor
bus info: scsi@13:0.0.0
*-power:0 UNCLAIMED
description: To Be Filled By O.E.M.
product: To Be Filled By O.E.M.
vendor: To Be Filled By O.E.M.
version: To Be Filled By O.E.M.
capacity: 32768mWh
*-power:1 UNCLAIMED
capacity: 32768mWh
rootroot@cm-System-Product-Name:~$
#cpu ID
sudo dmidecode -t 4 | grep ID
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo dmidecode -t 4 | grep ID
ID: E4 06 03 00 FF FB EB BF
rootroot@cm-System-Product-Name:~$
#Serial Number
sudo dmidecode | grep Serial
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo dmidecode | grep Serial
Serial services are supported (int 14h)
Serial Number: System Serial Number
Serial Number: 140932583400049
Serial Number: Chassis Serial Number
Serial Number: To Be Filled By O.E.M.
Serial Number: ChannelA_Dimm1_SerNum
Serial Number: ChannelA_Dimm2_SerNum
Serial Number: ChannelB_Dimm1_SerNum
Serial Number: ChannelB_Dimm2_SerNum
Serial Number: 133D751E
Serial Number: ChannelC_Dimm2_SerNum
Serial Number: 133D75BB
Serial Number: ChannelD_Dimm2_SerNum
Serial Number: To Be Filled By O.E.M.
rootroot@cm-System-Product-Name:~$
#cpu
sudo dmidecode -t 4
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo dmidecode -t 4
# dmidecode 2.12
SMBIOS 2.7 present.
Handle 0x0004,DMI type 4,42 bytes
Processor Information
Socket Designation: LGA2011
Type: Central Processor
Family: Other
Manufacturer: Intel
ID: E4 06 03 00 FF FB EB BF
Version: Intel(R) Core(TM) i7-4930K cpu @ 3.40GHz
Voltage: 1.0 V
External Clock: 100 MHz
Max Speed: 4000 MHz
Current Speed: 3400 MHz
Status: Populated,Enabled
Upgrade: Other
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count: 6
Core Enabled: 6
Thread Count: 12
Characteristics:
64-bit capable
rootroot@cm-System-Product-Name:~$
#BIOS
sudo dmidecode -t 0
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo dmidecode -t 0
Handle 0x0000,DMI type 0,24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: 4701
Release Date: 08/26/2014
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 8192 kB
PCI is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 4.6
rootroot@cm-System-Product-Name:~$
#主板:
sudo dmidecode -t 2
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo dmidecode -t 2
Handle 0x0002,DMI type 2,15 bytes
Base Board Information
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: P9X79 WS
Version: Rev 1.xx
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To be filled by O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
rootroot@cm-System-Product-Name:~$
#OEM:
sudo dmidecode -t 11
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo dmidecode -t 11
Handle 0x002F,DMI type 11,5 bytes
OEM Strings
String 1: To Be Filled By O.E.M.
String 2: To Be Filled By O.E.M.
String 3: To Be Filled By O.E.M.
String 4: To Be Filled By O.E.M.
显示当前内存大小(单位为MB)
free -m |grep "Mem" | awk '{print $2}'
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ free -m |grep "Mem" | awk '{print $2}'
15989
rootroot@cm-System-Product-Name:~$
查看硬盘温度
sudo apt-get install hddtemp
sudo hddtemp /dev/sda
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo apt-get install hddtemp
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
建议安装的软件包:
ksensors
下列【新】软件包将被安装:
hddtemp
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 180 个软件包未被升级。
需要下载 52.8 kB 的软件包。
解压缩后会消耗掉 250 kB 的额外空间。
获取:1 http://mirrors.ustc.edu.cn/ubuntu/ trusty/universe hddtemp amd64 0.3-beta15-52 [52.8 kB]
下载 52.8 kB,耗时 0秒 (348 kB/s)
正在预设定软件包 ...
正在选中未选择的软件包 hddtemp。
(正在读取数据库 ... 系统当前共安装有 226805 个文件和目录。)
正准备解包 .../hddtemp_0.3-beta15-52_amd64.deb ...
正在解包 hddtemp (0.3-beta15-52) ...
正在处理用于 man-db (2.6.7.1-1ubuntu1) 的触发器 ...
正在处理用于 ureadahead (0.100.0-16) 的触发器 ...
ureadahead will be reprofiled on next reboot
正在设置 hddtemp (0.3-beta15-52) ...
正在处理用于 ureadahead (0.100.0-16) 的触发器 ...
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo hddtemp /dev/sda
/dev/sda: ST2000NM0033-9ZM175: 46°C
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo hddtemp /dev/sdb
/dev/sdb: ST2000DM001-1ER164: 45°C
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo hddtemp /dev/sdc
/dev/sdc: ST3000VX000-1ES166: 43°C
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo hddtemp /dev/sdd
WARNING: Drive /dev/sdd doesn't seem to have a temperature sensor.
WARNING: This doesn't mean it hasn't got one.
WARNING: If you are sure it has one,please contact me (hddtemp@guzu.net).
WARNING: See --help,--debug and --drivebase options.
/dev/sdd: INTEL SSDSC2BW240A4: no sensor
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$
rootroot@cm-System-Product-Name:~$ sudo dmidecode
115 structures occupying 5113 bytes.
Table at 0x000EB6F0.
Handle 0x0001,DMI type 1,27 bytes
System Information
Manufacturer: System manufacturer
Product Name: System Product Name
Version: System Version
UUID: 1E00FC80-008C-7200-AD7C-382C4AC53500
Wake-up Type: Power Switch
SKU Number: SKU
Family: To be filled by O.E.M.
Contained Object Handles: 0
Handle 0x0003,DMI type 3,22 bytes
Chassis Information
Manufacturer: Chassis Manufacture
Type: Desktop
Lock: Not Present
Version: Chassis Version
Asset Tag: Asset-1234567890
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
SKU Number: To be filled by O.E.M.
64-bit capable
Handle 0x0005,DMI type 7,19 bytes
Cache Information
Socket Designation: L1-Cache
Configuration: Enabled,Not Socketed,Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32 kB
Maximum Size: 32 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: None
System Type: Unified
Associativity: 8-way Set-associative
Handle 0x0006,255)">Socket Designation: L2-Cache
Operational Mode: Varies With Memory Address
Installed Size: 256 kB
Maximum Size: 256 kB
Handle 0x0007,255)">Socket Designation: L3-Cache
Installed Size: 12288 kB
Maximum Size: 12288 kB
Associativity: 16-way Set-associative
Handle 0x0008,DMI type 8,9 bytes
Port Connector Information
Internal Reference Designator: PS/2 Keyboard
Internal Connector Type: None
External Reference Designator: PS/2 Keyboard
External Connector Type: PS/2
Port Type: Mouse Port
Handle 0x0009,255)">Internal Reference Designator: PS/2 Mouse
External Reference Designator: PS/2 Mouse
Port Type: Keyboard Port
Handle 0x000A,255)">Internal Reference Designator: USB_1234
External Reference Designator: USB_1234
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000B,255)">Internal Reference Designator: SPDIF
External Reference Designator: SPDIF
External Connector Type: Other
Port Type: Audio Port
Handle 0x000C,255)">Internal Reference Designator: GbE LAN1
External Reference Designator: GbE LAN1
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x000D,255)">Internal Reference Designator: GbE LAN2
External Reference Designator: GbE LAN2
Handle 0x000E,255)">Internal Reference Designator: USB5_6
External Reference Designator: USB5_6
Handle 0x000F,255)">Internal Reference Designator: USB7_8
External Reference Designator: USB7_8
Handle 0x0010,255)">Internal Reference Designator: IE1394_1
External Reference Designator: IE1394_1
External Connector Type: IEEE 1394
Port Type: Firewire (IEEE P1394)
Handle 0x0011,255)">Internal Reference Designator: USB3_12
External Reference Designator: USB3_12
Handle 0x0012,255)">Internal Reference Designator: AUdio
External Reference Designator: AUdio
Handle 0x0013,255)">Internal Reference Designator: SATA6G_1
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: Not Specified
External Connector Type: None
Port Type: SATA
Handle 0x0014,255)">Internal Reference Designator: SATA6G_2
Handle 0x0015,255)">Internal Reference Designator: SATA3G_3
Handle 0x0016,255)">Internal Reference Designator: SATA3G_4
Handle 0x0017,255)">Internal Reference Designator: SATA3G_5
Handle 0x0018,255)">Internal Reference Designator: SATA3G_6
Handle 0x0019,255)">Internal Reference Designator: USB9_10
Internal Connector Type: Access Bus (USB)
Handle 0x001A,255)">Internal Reference Designator: USB11_12
Handle 0x001B,255)">Internal Reference Designator: USB13
Handle 0x001C,255)">Internal Reference Designator: USB3_34
Handle 0x001D,255)">Internal Reference Designator: AAFP
Internal Connector Type: Mini Jack (headphones)
Handle 0x001E,255)">Internal Reference Designator: CHA_FAN1
Internal Connector Type: Other
Port Type: Other
Handle 0x001F,255)">Internal Reference Designator: CHA_FAN2
Handle 0x0020,255)">Internal Reference Designator: CHA_FAN3
Handle 0x0021,255)">Internal Reference Designator: CHA_FAN4
Handle 0x0022,255)">Internal Reference Designator: cpu_FAN
Handle 0x0023,255)">Internal Reference Designator: cpu_FAN_OPT
Handle 0x0024,255)">Internal Reference Designator: COM1
Handle 0x0025,255)">Internal Reference Designator: IE1394_2
Internal Connector Type: IEEE 1394
Handle 0x0026,255)">Internal Reference Designator: SATA6G_E1
Handle 0x0027,255)">Internal Reference Designator: SATA6G_E2
Handle 0x0028,DMI type 9,17 bytes
System Slot Information
Designation: PCIEX16_1
Type: 32-bit PCI Express
Current Usage: In Use
Length: Short
ID: 1
3.3 V is provided
opening is shared
PME signal is supported
Bus Address: 0000:01:02.2
Handle 0x0029,255)">Designation: PCIEX16_2
Current Usage: Available
ID: 2
Bus Address: 0000:ff:02.0
Handle 0x002A,255)">Designation: PCIEX16_3
ID: 3
Bus Address: 0000:03:01.1
Handle 0x002B,255)">Designation: PCIEX16_4
ID: 4
Bus Address: 0000:02:03.2
Handle 0x002C,255)">Designation: PCIEX16_5
ID: 5
Bus Address: 0000:04:1c.0
Handle 0x002D,255)">Designation: PCIEX16_6
ID: 6
Bus Address: 0000:ff:03.0
Handle 0x002E,DMI type 10,8 bytes
On Board Device 1 Information
Type: Ethernet
Status: Enabled
Description: Onboard Ethernet
On Board Device 2 Information
Type: Sound
Description: Onboard Audio
Handle 0x0030,DMI type 12,255)">System Configuration Options
Option 1: To Be Filled By O.E.M.
Handle 0x0031,DMI type 16,23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 96 GB
Error Information Handle: Not Provided
Number Of Devices: 8
Handle 0x0032,DMI type 19,31 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x003FFFFFFFF
Range Size: 16 GB
Physical Array Handle: 0x0031
Partition Width: 1
Handle 0x0033,DMI type 17,34 bytes
Memory Device
Array Handle: 0x0031
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: ChannelA_Dimm1
Bank Locator: ChannelA
Type: Unknown
Type Detail: Synchronous
Manufacturer: ChannelA_Dimm1_Manufacturer
Asset Tag: ChannelA_Dimm1_AssetTag
Part Number: ChannelA_Dimm1_PartNum
Rank: Unknown
Configured Clock Speed: Unknown
Handle 0x0034,DMI type 126,35 bytes
Inactive
Handle 0x0035,255)">Locator: ChannelA_Dimm2
Manufacturer: ChannelA_Dimm2_Manufacturer
Asset Tag: ChannelA_Dimm2_AssetTag
Part Number: ChannelA_Dimm2_PartNum
Handle 0x0036,255)">Handle 0x0037,255)">Locator: ChannelB_Dimm1
Bank Locator: ChannelB
Manufacturer: ChannelB_Dimm1_Manufacturer
Asset Tag: ChannelB_Dimm1_AssetTag
Part Number: ChannelB_Dimm1_PartNum
Handle 0x0038,255)">Handle 0x0039,255)">Locator: ChannelB_Dimm2
Manufacturer: ChannelB_Dimm2_Manufacturer
Asset Tag: ChannelB_Dimm2_AssetTag
Part Number: ChannelB_Dimm2_PartNum
Handle 0x003A,255)">Handle 0x003B,255)">Size: 8192 MB
Locator: ChannelC_Dimm1
Bank Locator: ChannelC
Type: DDR3
Speed: 1866 MHz
Manufacturer: Samsung
Asset Tag: ChannelC_Dimm1_AssetTag
Part Number: M391B1G73QH0-CMA
Rank: 2
Configured Clock Speed: 1866 MHz
Handle 0x003C,DMI type 20,255)">Memory Device Mapped Address
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Device Handle: 0x003B
Memory Array Mapped Address Handle: 0x0032
Partition Row Position: Unknown
Interleave Position: Unknown
Interleaved Data Depth: Unknown
Handle 0x003D,255)">Locator: ChannelC_Dimm2
Manufacturer: ChannelC_Dimm2_Manufacturer
Asset Tag: ChannelC_Dimm2_AssetTag
Part Number: ChannelC_Dimm2_PartNum
Handle 0x003E,255)">Handle 0x003F,255)">Locator: ChannelD_Dimm1
Bank Locator: ChannelD
Asset Tag: ChannelD_Dimm1_AssetTag
Handle 0x0040,255)">Starting Address: 0x00200000000
Physical Device Handle: 0x003F
Handle 0x0041,255)">Locator: ChannelD_Dimm2
Manufacturer: ChannelD_Dimm2_Manufacturer
Asset Tag: ChannelD_Dimm2_AssetTag
Part Number: ChannelD_Dimm2_PartNum
Handle 0x0042,255)">Handle 0x0043,DMI type 32,20 bytes
System Boot Information
Status: No errors detected
Handle 0x0044,DMI type 34,11 bytes
Management Device
Description: Nuvoton NCT6776F
Type: Other
Address: 0x00000295
Address Type: I/O Port
Handle 0x0045,DMI type 26,255)">Voltage Probe
Description: LM78A
Location: <OUT OF SPEC>
Status: <OUT OF SPEC>
Maximum Value: Unknown
Minimum Value: Unknown
Resolution: Unknown
Tolerance: Unknown
Accuracy: Unknown
OEM-specific Information: 0x00000000
Nominal Value: Unknown
Handle 0x0046,DMI type 36,16 bytes
Management Device Threshold Data
Lower Non-critical Threshold: 1
Upper Non-critical Threshold: 2
Lower Critical Threshold: 3
Upper Critical Threshold: 4
Lower Non-recoverable Threshold: 5
Upper Non-recoverable Threshold: 6
Handle 0x0047,DMI type 35,255)">Management Device Component
Description: To Be Filled By O.E.M.
Management Device Handle: 0x0044
Component Handle: 0x0044
Threshold Handle: 0x0045
Handle 0x0048,DMI type 28,255)">Temperature Probe
Handle 0x0049,255)">Handle 0x004A,255)">Component Handle: 0x0047
Threshold Handle: 0x0048
Handle 0x004B,DMI type 27,255)">Cooling Device
Temperature Probe Handle: 0x0048
Type: <OUT OF SPEC>
Cooling Unit Group: 1
Nominal Speed: Unknown Or Non-rotating
Description: Cooling Dev 1
Handle 0x004C,255)">Handle 0x004D,255)">Component Handle: 0x004A
Threshold Handle: 0x004B
Handle 0x004E,255)">Description: Not Specified
Handle 0x004F,255)">Handle 0x0050,255)">Component Handle: 0x004D
Threshold Handle: 0x004E
Handle 0x0051,DMI type 29,255)">Electrical Current Probe
Description: ABC
Handle 0x0052,255)">Handle 0x0053,255)">Component Handle: 0x0050
Handle 0x0054,DMI type 39,255)">System Power Supply
Power Unit Group: 1
Location: To Be Filled By O.E.M.
Name: To Be Filled By O.E.M.
Manufacturer: To Be Filled By O.E.M.
Model Part Number: To Be Filled By O.E.M.
Revision: To Be Filled By O.E.M.
Max Power Capacity: Unknown
Status: Not Present
Input Voltage Range Switching: <OUT OF SPEC>
Plugged: Yes
Hot Replaceable: No
Input Voltage Probe Handle: 0x0045
Cooling Device Handle: 0x004E
Input Current Probe Handle: 0x0051
Handle 0x0055,255)">Description: 2
Type: LM78
Address: 0x00000000
Handle 0x0056,255)">Description: LM78B
Handle 0x0057,255)">Lower Non-critical Threshold: 7
Upper Non-critical Threshold: 8
Lower Critical Threshold: 8
Upper Critical Threshold: 10
Lower Non-recoverable Threshold: 11
Upper Non-recoverable Threshold: 12
Handle 0x0058,255)">Management Device Handle: 0x0055
Component Handle: 0x0055
Threshold Handle: 0x0056
Handle 0x0059,255)">Handle 0x005A,255)">Lower Non-critical Threshold: 13
Upper Non-critical Threshold: 14
Lower Critical Threshold: 15
Upper Critical Threshold: 16
Lower Non-recoverable Threshold: 17
Upper Non-recoverable Threshold: 18
Handle 0x005B,255)">Component Handle: 0x0058
Threshold Handle: 0x0059
Handle 0x005C,255)">Handle 0x005D,255)">Handle 0x005E,255)">Component Handle: 0x005B
Threshold Handle: 0x005C
Handle 0x005F,255)">Temperature Probe Handle: 0x005C
Description: Cooling Dev 2
Handle 0x0060,255)">Handle 0x0061,255)">Component Handle: 0x005E
Threshold Handle: 0x005F
Handle 0x0062,255)">Handle 0x0063,255)">Handle 0x0064,255)">Component Handle: 0x0061
Threshold Handle: 0x0062
Handle 0x0065,255)">Temperature Probe Handle: 0x0062
Handle 0x0066,255)">Handle 0x0067,255)">Component Handle: 0x0064
Threshold Handle: 0x0065
Handle 0x0068,255)">Description: DEF
Handle 0x0069,255)">Handle 0x006A,255)">Component Handle: 0x0067
Handle 0x006B,255)">Description: GHI
Handle 0x006C,255)">Handle 0x006D,255)">Component Handle: 0x006A
Handle 0x006E,255)">Input Voltage Probe Handle: 0x0059
Cooling Device Handle: 0x0065
Handle 0x006F,DMI type 41,255)">Onboard Device
Reference Designation: Onboard LAN
Type Instance: 1
Bus Address: 0000:00:19.0
Handle 0x0070,DMI type 139,94 bytes
OEM-specific Type
Header and Data:
8B 5E 70 00 00 1E 8C 00 00 72 AD 7C 04 04 32 55
F8 00 A2 02 A1 00 40 63 43 10 84 83 03 DF 40 80
00 20 00 73 3C 10 08 00 60 0F B2 1F D4 05 01 00
DB DB DB DB DB DB 00 20 20 DB DB 20 20 20 20 20
10 20 DA C3 7C AD 72 FF 22 8C 1E 00 19 1D 86 72
B1 1F 00 00 00 00 00 00 00 00 00 00 00 01
Strings:
V1394GUID
Handle 0x0071,DMI type 13,255)">BIOS Language Information
Language Description Format: Long
Installable Languages: 9
en|US|iso8859-1
fr|FR|iso8859-1
es|ES|iso8859-1
de|DE|iso8859-1
ru|RU|iso8859-5
ko|KR|unicode
ja|JP|unicode
zh|TW|unicode
zh|CN|unicode
Currently Installed Language: en|US|iso8859-1
Handle 0x0072,DMI type 127,4 bytes
End Of Table
rootroot@cm-System-Product-Name:~$
原文链接:https://www.f2er.com/ubuntu/350335.html