核数:grep "physical id" /proc/cpuinfo|sort -u|wc -l
每个核上的cpu个数:grep "siblings" /proc/cpuinfo|uniq
内存:cat /proc/meminfo
磁盘: fdisk –l ,free -m
操作系统: lsb_release –a