LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1362|回复: 4

linux下难道连个cpu压力测试的软件也没有么?

[复制链接]
发表于 2007-1-20 15:21:55 | 显示全部楼层 |阅读模式
linux下难道连个cpu压力测试的软件也没有么?
或者脚本
就是 cpu占用100%的程序,最后能给出cpu分值,或者运算时间.
发表于 2007-1-20 19:51:26 | 显示全部楼层
似乎用sar可以查看,没用过,楼主可以试试,安装sysstat应该就有了
回复 支持 反对

使用道具 举报

发表于 2007-1-20 22:21:38 | 显示全部楼层
自己写一个c程序,循环呗
回复 支持 反对

使用道具 举报

发表于 2007-1-21 03:14:41 | 显示全部楼层
  1. [0 No.2181 huan@huan ~]$ apt-cache search cpub
  2. cpuburn - a collection of programs to put heavy load on CPU
  3. [0 No.2182 huan@huan ~]$ apt-cache show cpuburn
  4. Package: cpuburn
  5. Priority: extra
  6. Section: universe/misc
  7. Installed-Size: 116
  8. Maintainer: Aurelien Jarno <aurel32@debian.org>
  9. Architecture: i386
  10. Version: 1.4-21
  11. Depends: debconf (>= 0.5) | debconf-2.0
  12. Suggests: memtest86, hwtools, sysutils, kernel-patch-badram
  13. Filename: pool/universe/c/cpuburn/cpuburn_1.4-21_i386.deb
  14. Size: 13828
  15. MD5sum: 3f61a20d7ef610027ea563438077b658
  16. SHA1: f17ed90e2a0d7733cd2ff8f566ce065cc07d2b38
  17. SHA256: cff3b8ed95662620d81f0a79c93735ab324b22d1facdf66dea9791cf79ff345a
  18. Description: a collection of programs to put heavy load on CPU
  19. CPUburn is a collection of programs to put heavy stress on CPU.
  20. These programs are designed to load x86 CPUs as heavily as possible
  21. for the purposes of system testing.
  22. .
  23. Warning: The goal has been to maximize heat production from the CPU,
  24. putting stress on the CPU itself, cooling system, motherboard. This
  25. may cause data loss (filesystem corruption) and possibly permanent
  26. damage to electronic components. Use at your own risk.
  27. Bugs: mailto:ubuntu-users@lists.ubuntu.com
  28. Origin: Ubuntu
  29. [0 No.2183 huan@huan ~]$
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-1-21 10:56:42 | 显示全部楼层
#glxgears
这个不是吗。哇哇 !
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表