获取CPU个数

PROCESSER=`grep 'processor' /proc/cpuinfo | wc -l`
JOBSS=$[$PROCESSER*2]
原文地址:https://www.cnblogs.com/black-mamba/p/5911536.html