cpuburn_CPU测试工具cpuburn-in使用方法解析

cpuburnin下载地址:

https://www.cpuburnin.com/downloads/cpuburn-in.tar.gz

备注:以下基于Redhat7-1708进行测试

下载cpuburn-in工具

[root@localhost /]#mkdir -p /testtool/cpu [root@localhost /]#cd /testtool/cpu [root@localhost CPU]#wget https://www.cpuburnin.com/downloads/cpuburn-in.tar.gz [root@localhost CPU]# ll -rwxr-xr-x. 1 root root 7273 Apr 10 20:34 cpuburn-in.tar.gz

解压并授予可执行权限,即可使用

[root@localhost CPU]# tar zxvf cpuburn-in.tar.gz cpuburn-in README [root@localhost CPU]# chmod 755 * [root@localhost CPU]# ll total 72 -rwxr-xr-x. 1 root root 14555 Sep 9 2000 cpuburn-in -rwxr-xr-x. 1 root root 7273 Apr 10 20:34 cpuburn-in.tar.gz -rwxr-xr-x. 1 root root 2981 Sep 9 2000 README

如果遇到如下报错,说明依赖包没有安装,需要搭建本地yum源进行安装,可以参考本人其他博客进行

[root@localhost CPU]# ./cpuburn-in -bash: ./cpuburn-in: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

[root@localhost CPU]# yum install ld-linux.so.2 Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Resolving Dependencies --> Running transaction check ---> Package glibc.i686 0:2.17-196.el7 will be installed --> Processing Dependency: libfreebl3.so for package: glibc-2.17-196.el7.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-196.el7.i686 --> Running transaction check ---> Package nss-softokn-freebl.i686 0:3.28.3-6.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================== Installing: glibc i686 2.17-196.el7 local 4.2 M Installing for dependencies: nss-softokn-freebl i686 3.28.3-6.el7 local 198 k Transaction Summary =================================================================================================================================================== Install 1 Package (+1 Dependent package) Total download size: 4.4 M Installed size: 15 M Is this ok [y/d/N]: y Downloading packages: --------------------------------------------------------------------------------------------------------------------------------------------------- Total 199 MB/s | 4.4 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : nss-softokn-freebl-3.28.3-6.el7.i686 1/2 Installing : glibc-2.17-196.el7.i686 2/2 local/productid | 1.6 kB 00:00:00 Verifying : glibc-2.17-196.el7.i686 1/2 Verifying : nss-softokn-freebl-3.28.3-6.el7.i686 2/2 Installed: glibc.i686 0:2.17-196.el7 Dependency Installed: nss-softokn-freebl.i686 0:3.28.3-6.el7 Complete!

cpuburn-in使用方法:

[root@localhost CPU]#./cpuburn-in 10

10 表示10秒,可以设置长时间测试,由于一个进程只能测试一个核,对于多核CPU可以启动多个进程在后台运行。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值