标签:grep cache free decode version ble sed cpu sha
查看CPU型号:
grep "model name" /proc/cpuinfo | uniq
dmidecode -s processor-version | uniq
查看物理CPU个数
grep "physical id" /proc/cpuinfo | sort -u | wc -l
grep "physical id" /proc/cpuinfo | uniq | wc -l
查看CPU核心数
grep "core id" /proc/cpuinfo | sort -u | wc -l
grep "core id" /proc/cpuinfo | uniq | wc -l
查看CPU线程数
grep "processor" /proc/cpuinfo | sort -u | wc -l
grep "processor" /proc/cpuinfo | uniq | wc -l
查看内存大小
free -m
total(物理内存总量) used(已用物理内存量) free(空闲物理内存量) shared(多个进程共享的内存总数) buff/cache(缓冲内存数/缓存内存数) available
Mem:(内存的使用情况) 972 167 399 0 405 628
Swap: (交换分区) 2047 55 1992
查看硬盘大小
df -hT
标签:grep cache free decode version ble sed cpu sha
原文地址:https://www.cnblogs.com/lyqlyqlyq/p/11641869.html