查看linux 系统cpu gpu 型号,查看系统centoos还是ubuntu

# nvidia-smi -L
GPU 0: NVIDIA GeForce RTX 3090 (UUID: GPU-fdbf547e-26c1-df65-1c5b-daa8c4d4d47b)

# cat /proc/meminfo | grep MemTotal
内存  MemTotal:       65565932 kB

# cat /proc/cpuinfo | grep "cpu cores" | uniq
cpu cores	: 10

# cat /proc/cpuinfo | grep "model name" | uniq
model name	: Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz

[root@localhost road_src]# cat /etc/redhat-release    (centoos)
CentOS Linux release 7.9.2009 (Core)

(base) root@dell-Precision-5820-Tower-X-Series:~# lsb_release -a   (ubuntu系统查看)
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.6 LTS
Release:	18.04
Codename:	bionic

你可能感兴趣的:(linux,运维,服务器)