查看Linux是多少位数
getconf LONG_BIT
查看cpu详细信息
cat /proc/cpuinfo
查看cpu核心数量
cat /proc/cpuinfo | grep 'cpu cores' | uniq
查看cpu型号
cat /proc/cpuinfo | grep 'model name' | uniq
查看内存总数
cat /proc/meminfo | grep MemTotal
查看硬盘空间大小(不包括未挂载的硬盘)
df -h
getconf LONG_BIT
cat /proc/cpuinfo
cat /proc/cpuinfo | grep 'cpu cores' | uniq
cat /proc/cpuinfo | grep 'model name' | uniq
cat /proc/meminfo | grep MemTotal
df -h