![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
stress
stress、stress-ng工具相关
aovenus
这个作者很懒,什么都没留下…
展开
-
stress-ng
1.官方站点:https://kernel.ubuntu.com/~cking/stress-ng/2.下载地址:https://kernel.ubuntu.com/~cking/tarballs/stress-ng/3.使用方法:https://zhuanlan.zhihu.com/p/334223104.安装步骤本次下载的是stress-ng 0.12.09。操作系统环境:Centos7.5具体安装步骤:tar -xvJf stress-ng-0.12.09.原创 2021-07-24 21:29:34 · 782 阅读 · 0 评论 -
stress模拟CPU使用100%
(1)安装stress解压:tar -xzvf stress-1.0.4.tar.gz./configuremakemake install默认安装在/usr/local/bin目录下:(2)使用stress模拟CPU使用100%先使用top看下CPU使用情况,基本空闲。使用stress模拟CPU使用100%:stress -c 8 -t 100再次使用top查看CPU使用情况,可以看到us使用100%了。vmstat查看运行前原创 2021-07-24 21:32:41 · 684 阅读 · 0 评论