一:对CPU进行简单测试:
计算圆周率
echo "scale=5000; 4*a(1)" | bc -l -q
转自: http://wushank.blog.51cto.com/3489095/1585927