查看系统内核
uname -a
查看CPU
cat /proc/cpuinfo | grep model\ name
lscpu
查看内存
cat /proc/meminfo | grep MemTotal
查看显卡
lspci | grep 'VGA'
查看声卡
lspci | grep -i 'Audio'
查看网卡
lspci | grep -i 'Network'
查看硬盘
df -lh
=============
dmidecode 命令, 加 -t 或者 --type 来限定关键字:
bios, system, baseboard, chassis, processor, memory, cache, connector, slot
sudo dmidecode -t bios
sudo dmidecode -t system
...
================
lshw
...
================
sztom
osoft@qq.com
CC-BY-NC-SA