查看操作系统版本
1 | cat /proc/version |
查看内存
1 | cat /proc/meminfo |
查看CPU型号
1 | cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l |
查看物理CPU数量
1 | cat /proc/cpuinfo | grep "physical id" |
查看CPU核数和线程数
1 2 | cat /proc/cpuinfo | grep "core id" | sort | uniq | wc -l cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l |
查看硬盘
1 | df -h |
查看时区
1 | cat /etc/timezone |
查看系统编码
1 | locale |