CPU性能测试
执行命令 time echo "scale=5000; 4*a(1)" | bc -l -q
表示计算圆周率达到小数点后面的5000位所需时间
如果提示bc: command not found,请安装yum -y install bc
参考https://blog.csdn.net/weixin_37998647/article/details/78934504
如果想卸载bc,执行yum -y remove bc
CPU性能测试
执行命令 time echo "scale=5000; 4*a(1)" | bc -l -q
表示计算圆周率达到小数点后面的5000位所需时间
如果提示bc: command not found,请安装yum -y install bc
参考https://blog.csdn.net/weixin_37998647/article/details/78934504
如果想卸载bc,执行yum -y remove bc