电脑配置以及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-*
本文提供了一种终极命令,用于查询电脑的详细配置信息,包括CPU型号、核心数、缓存大小、内存总量以及GPU型号。通过一系列Linux命令的组合使用,如dmidecode、lspci、cat /proc/cpuinfo 和 cat /proc/meminfo,读者可以轻松获取并理解其设备的硬件规格。
8655

被折叠的 条评论
为什么被折叠?



