webbench :1.5  http://soft.vpser.net/test/webbench/webbench-1.5.tar.gz
从官网下载webbench-1.5.tar.gz
1.解压 tar -zxvf webbench-1.5.tar.gz
2. cd webbench-1.5
3.make
cc -Wall -ggdb -W -O   -c -o webbench.o webbench.c
webbench.c: In function ‘alarm_handler’:
webbench.c:77: warning: unused parameter ‘signal’
cc -Wall -ggdb -W -O  -o webbench webbench.o  
ctags *.c
/bin/sh: ctags: command not found
make: [tags] Error 127 (ignored)
此处错误是没有ctags这个包,然后安装此包
4.rpm -ivh ctags-5.8-2.el6.x86_64.rpm 
warning: ctags-5.8-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:ctags                  ########################################### [100%]
5.再次make 没有错误
6.make install 
install -s webbench /usr/local/bin
install -m 644 webbench.1 /usr/local/man/man1
install: cannot create regular file `/usr/local/man/man1': No such file or directory
make: *** [install] Error 1
此处是没有相应的文件夹
mkdir -m 644 -p /usr/local/man/man1
7.再次make install
install -s webbench /usr/local/bin
install -m 644 webbench.1 /usr/local/man/man1
install -d /usr/local/share/doc/webbench
install -m 644 debian/copyright /usr/local/share/doc/webbench
install -m 644 debian/changelog /usr/local/share/doc/webbench
正常
8.简单测试
webbench -c 500 -t 30 http://www.baidu.com
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://www.baidu.com
500 clients, running 30 sec.

Speed=10112 pages/min, 26296 bytes/sec.
Requests: 5056 susceed, 0 failed.
完成

最新文章

  1. 【Avalon】escape
  2. 解决Download interrupted: Connection to https://dl-ssl.google.com refused的问题
  3. 【转】增加eclipse的运行内存 -- 不错!!
  4. Keil C51 知识点
  5. 理解ROS话题
  6. Centos6.5下一个Ceph存储集群结构
  7. svn checkout操作
  8. 添加<!doctype html>后造成JS写的定位失效
  9. linux 中的搜索命令
  10. Struts2-文件上传下载
  11. 拾遗与填坑《深度探索C++对象模型》3.2节
  12. Spark之Yarn提交模式
  13. EECS 649 Introduction to Artificial Intelligence
  14. type-of-python作业-判断字符串是否属于回文需要忽略其中的标点、空格与大小写
  15. 浙江省赛之Singing Everywhere
  16. Symantec Backup Exec Agent 推送错误Error connecting to the remote computer. Ensure that the computer is available, has WMI enabled and is not blocked by a firewall
  17. 探究如何永久更改Maven的Dynamic Web Project版本及pom.xml默认配置
  18. 苹果手机上点击WEUI日期控件不容易点中
  19. 【shell】两种字符串提取场景的实现
  20. Openstack-Namespaces

热门文章

  1. 利用模板在RM里部署VM
  2. [转载] vim带你装逼带你飞(一)
  3. Linux 系统常用命令汇总(二) vi 文本编辑
  4. 【读书笔记《Android游戏编程之从零开始》】2.Hello,World!
  5. js对Date对象的操作的问题(生成一个倒数7天的数组)
  6. Tarjian算法求强联通分量
  7. fastDFS 一二事 - 简易服务器搭建(单linux)
  8. 超详细图解:自己架设NuGet服务器
  9. 【转】【C#】C# 垃圾回收机制
  10. 【夯实Mysql基础】MySQL在Linux系统下配置文件及日志详解