查看linux硬件信息 get linux hardware detailed info

Show kernel version and system architecture

uname -a 或者 cat /proc/version 如果要看到具体release版本可以先进入到/proc目录,然后lsb_release -a

Show name and version of distribution

head -n1 /etc/issue

Show all partitions registered on the system

cat /proc/partitions

Show RAM total seen by the system

grep MemTotal /proc/meminfo

Show CPU(s) info

grep "model name" /proc/cpuinfo

Show info about disk sda

hdparm -i /dev/sda
df -lh

你可能感兴趣的:(查看linux硬件信息 get linux hardware detailed info)