你想知道怎么看电脑硬件信息吗? 以下是学习啦小编带来的在linux上看硬件信息的方法内容。 请阅读。
如何在linux上显示硬件信息:
建议直接访问主板bios以获取硬件信息
对于linux,根据具体版本,命令可能会有一些差异
linux命令:
1、主板信息
查看BIOS信息
dmidecode|grep-a28“BIOS信息”
#查看主板型号信息
dmidecode|grep-a10“主板信息”
dmidecode-t基板载
2,cpu信息
通过/proc文件系统
cat /proc/cpuinfo
#通过显示启动信息
dmesg|grep-I‘CPU’
dmidecode-t处理器
3、硬盘信息
#查看分区情况
fdisk -l
#确认尺寸
df -h
#显示使用情况
杜赫
hdparm -I /dev/sda
dmesg
4 .内存信息
1 ) cat /proc/meminfo
2 ) dmesg | grep mem
3 ) free -m
4 ) vmstat
5 ) dmidecode-t内存
5、网卡信息
1 ) dmesg|grep-I‘eth '
2 ) cat/etc/sys config/hwconf|grep-ieth
3 ) lspci|grep-I‘eth’
6、网络流量
1 ) iptraf
2 ) nLoad
6,鼠标键盘和USB信息
显示键盘和鼠标: cat /proc/bus/input/devices
显示USB设备: cat /proc/bus/usb/devices
查看每个设备的中断请求(IRQ ) :cat /proc/interrupts
7、显卡信息
1 ) lspci|grep-I‘VGA
2 ) dmesg | grep -i ‘VGA
看过《如何在linux上查看硬件信息》内容的人也看了如下。