Unixbench测试工具和使用

安装过程

wget http://soft.laozuo.org/scripts/UnixBench5.1.3.tgz

tar xf UnixBench5.1.3.tgz

cd UnixBench5.1.3

make

./Run

安装过程出错:

Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./Run line 6.
BEGIN failed--compilation aborted at ./Run line 6.

解决办法:yum install perl-Time-HiRes -y

如果出现bash: make: command not found问题

解决办法:yum -y install gcc automake autoconf libtool make

测试截图:(4核 8G内存 1T硬盘实体机)

百度云主机(1核,1G内存,20G硬盘)

阿里云主机(2核,4G内存,40G硬盘)

三张截图可见云主机的性能还是挺强的,2核,4G内存的阿里云主机跑分比2核8G内存实体机还要高一点。

 

posted @ 2016-11-15 16:50  梦轻尘  阅读(16135)  评论(0编辑  收藏  举报