Ubuntu查看CPU|GPU|型号等电脑配置

电脑配置以及CPU

一个终极命令_可以包括以下命令显示的信息
cat /proc/cpuinfo

alay@ws:~$ sudo dmidecode | grep “Product Name”
Product Name: Inspiron 3558
Product Name: 0G1TDD

alay@ws:~$ sudo dmidecode | grep CPU
Version: Intel® Core™ i5-5200U CPU @ 2.20GHz
Internal Reference Designator: JFAN1 - CPU FAN
Internal Reference Designator: JXDP1 - CPU XDP Port
Description: CPU Fan
Description: CPU Probe

$ sudo dmidecode | grep Proc
Processor Information
Socket Designation: Proc 2
Type: Central Processor
Socket Designation: Processor 1 Internal L1 Cache
Socket Designation: Processor 2 Internal L1 Cache
Socket Designation: Processor 1 Internal L2 Cache
Socket Designation: Processor 2 Internal L2 Cache
Socket Designation: Processor 1 Internal L3 Cache
Socket Designation: Processor 2 Internal L3 Cache

$ sudo more /proc/cpuinfo | grep -i “model name”
model name : Intel® Xeon® CPU E5540 @ 2.53GHz

$ sudo more /proc/cpuinfo | grep -i “cpu cores”
cpu cores : 4

$ more /proc/cpuinfo | grep -i “cache size”
cache size : 8192 KB

$ more /proc/meminfo | grep -i memtotal
MemTotal: 33003200 kB

GPU

终极命令:
lspci |grep -i vga

查看显卡型号
lspci | grep -i nvidia

查看驱动
sudo dpkg --list | grep nvidia-*

你可能感兴趣的:(linux,经验分享)