| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
openkk
13年前发布

压力测试工具 stress

stress 是Unix类系统下的工作量和压力测试工具。它将对用户指定的CPU数量的I/O,内存和硬盘的负载并报告它检测到任何错误。它用于自动压力测试和调试系统组件失败的唯一或更经常负荷时。它可以运行在x86,ppc64的,和PPC 32 GNU / Linux的,Tru64的,SPARC Solaris的,和其他平台。

使用示例:

   $ stress --cpu 2 --io 1 --vm 1 --vm-bytes 128M --timeout 10s --verbose     stress: info: [9372] dispatching hogs: 2 cpu, 1 io, 1 vm, 0 hdd     stress: dbug: [9372] (243) using backoff sleep of 12000us     stress: dbug: [9372] (262) setting timeout to 10s     stress: dbug: [9372] (285) --> hogcpu worker 9373 forked     stress: dbug: [9372] (305) --> hogio worker 9374 forked     stress: dbug: [9372] (325) --> hogvm worker 9375 forked     stress: dbug: [9372] (243) using backoff sleep of 3000us     stress: dbug: [9372] (262) setting timeout to 10s     stress: dbug: [9372] (285) --> hogcpu worker 9376 forked     stress: dbug: [9375] (466) hogvm worker malloced 134217728 bytes     stress: dbug: [9372] (382) <-- worker 9374 signalled normally     stress: dbug: [9372] (382) <-- worker 9373 signalled normally     stress: dbug: [9372] (382) <-- worker 9375 signalled normally     stress: dbug: [9372] (382) <-- worker 9376 signalled normally     stress: info: [9372] successful run completed in 10s

项目主页:http://www.open-open.com/lib/view/home/1330171979468

 本文由用户 openkk 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1330171979468.html
测试工具 性能测试和优化