mkdir -p /backup/erikxue/;
cd /backup/erikxue;
yum -y install perl-Time-HiRes;
wget http://soft.laozuo.org/scripts/UnixBench6.1.3.tgz;
tar -zxvf UnixBench6.1.3.tgz;
cd UnixBench;
yum -y install gcc gcc-c autoconf gcc-c++ time
sed -i "s/GRAPHIC_TESTS = defined/#GRAPHIC_TESTS = defined/g" ./Makefile
make;
./Run;
echo '';
echo '';
echo '';
echo "======= Copy and paste your results to the Erikxue ======= ";
echo '';
echo 'This script created by Erikxue from gorhce.com';
echo '';
echo '';
——————————————————————————————————————
把以上脚本复制到服务器上,直接运行即可。
运行脚本:
wget http://www.xxxxxx.com/sh/unixbench.sh;sh ./unixbench.sh
Erikxue 薛忠权原创技术文献;
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。