wangtale

官方网站:http://home.tiscali.cz/~cz210552/webbench.html
下载地址:http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz

1.安装webbench
wget http://www.honglei.net/file/webbench-1.5.tar.gz
tar zxvf webbench-1.5.tar.gz
cd webbench-1.5
make && make install

如果出现下面错误提示:
ctags *.c
/bin/sh: ctags: command not found
解决方法:安装ctags
yum install ctags

如果安装了ctags, 仍然报错:
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

2.运行
webbench -c 500 -t 30 http://www.baidu.com/
参数说明:-c表示并发数,-t表示时间(秒)

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-01-18
  • 2021-12-01
  • 2021-07-07
  • 2021-07-26
  • 2022-02-28
  • 2022-12-23
  • 2021-10-01
猜你喜欢
  • 2021-05-28
  • 2021-11-26
  • 2021-07-07
  • 2021-12-31
  • 2021-10-11
相关资源
相似解决方案