[root@Ceshi ~]# grep ‘core id‘ /proc/cpuinfo | sort -u | wc -l
[root@Ceshi ~]# grep ‘processor‘ /proc/cpuinfo | sort -u | wc -l
[root@Ceshi ~]# grep ‘physical id‘ /proc/cpuinfo | sort -u
Df命令是linux系统以磁盘分区为单位查看文件系统,可以加上参数查看磁盘剩余空间信息
原文:https://www.cnblogs.com/duaner92/p/11696054.html