Ubuntu 16.04怎么查看系统的硬件信息
Posted 玩电脑的辣条哥
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu 16.04怎么查看系统的硬件信息相关的知识,希望对你有一定的参考价值。
环景:
Ubuntu 16.04.7 LTS
问题描述:
怎么查看系统的硬件信息
解决方案:
1.lscpu
查看CPU
2.free -m
查看内存
3.fdisk -l
查看硬盘
4.lspci |grep -i vga
查看显卡
08:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
(1)lspci -v -s 08:00.0
(2)nvidia-smi
查看英伟达显卡
Wed Dec 29 09:54:20 2021
±----------------------------------------------------------------------------+
| NVIDIA-SMI 455.23.05 Driver Version: 455.23.05 CUDA Version: 11.1 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=++==============|
| 0 GeForce GTX 108… Off | 00000000:08:00.0 Off | N/A |
| 29% 23C P8 8W / 250W | 239MiB / 11178MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 1 GeForce GTX 108… Off | 00000000:09:00.0 Off | N/A |
| 29% 26C P8 8W / 250W | 2MiB / 11178MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 2 GeForce GTX 108… Off | 00000000:88:00.0 Off | N/A |
| 29% 22C P8 7W / 250W | 2MiB / 11178MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 3 GeForce GTX 108… Off | 00000000:89:00.0 Off | N/A |
| 29% 22C P8 10W / 250W | 2MiB / 11178MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 37128 C …R2021a/bin/glnxa64/MATLAB 237MiB |
| 1 N/A N/A 37128 C …R2021a/bin/glnxa64/MATLAB 0MiB |
| 2 N/A N/A 37128 C …R2021a/bin/glnxa64/MATLAB 0MiB |
| 3 N/A N/A 37128 C …R2021a/bin/glnxa64/MATLAB 0MiB |
5.dmidecode | grep “System Information” -A9 | egrep “Manufacturer|Product|Serial”
查看序列号
Manufacturer: Supermicro
Product Name: SYS-xxR-Txx
Serial Number: Ax88xx48xxxx
6.dmidecode -t bios
查看bios信息
#dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: SeaBIOS
Version: rel-1.10.2-0-g5f4c7b1-20200912_172322-szxrtosci10000
Release Date: 04/01/2014
Address: 0xE8000
Runtime Size: 96 kB
ROM Size: 64 kB
Characteristics:
BIOS characteristics not supported
Targeted content distribution is supported
BIOS Revision: 0.0
以上是关于Ubuntu 16.04怎么查看系统的硬件信息的主要内容,如果未能解决你的问题,请参考以下文章