咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
Linux CPU测试工具cpuburn-in使用方法
欢迎来到蓝队云技术小课堂,每天分享一个技术小知识。
cpuburnin下载地址:
http://www.landui.com/downloads/cpuburn-in.tar.gz
备注:以下基于centos7进行测试
下载cpuburn-in工具
[root@localhost /]#mkdir -p /testtool/cpu
[root@localhost /]#cd /testtool/cpu
[root@localhost CPU]#wget http://www.landui.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
蓝队云官网上拥有完善的技术支持库可供参考,大家可自行查阅,更多技术问题,可以直接咨询。同时,蓝队云整理了运维必备的工具包免费分享给大家使用,需要的朋友可以直接咨询。
更多技术知识,蓝队云期待与你一起探索。