linux下CPU.内存.IO.网络的压力测试,硬盘读写速度测试,Linux三个系统资源监控工具 https://blog.51cto.com/hao360/1587165 linux_python关注0人评论57974人阅读2014-12-06 20:17:16 一.对CPU进行简单测试: 1.通过bc命令计算特别函数 例:计算圆周率 echo "scale=5000; 4*a(1)" | bc -l -q MATH LIBRARY If bc is invoked
1.用Linux自带的命令dd测试硬盘IO,如下------------------------------------写: [root@server102 ~]# time dd count= of=/tmp/1Gb.file + records in + records out bytes ( MB/s real 0m2.375s user 0m0.079s sys 0m2.028s 读: [root@server102 ~]# time dd if=/tmp/1Gb.file bs=64k