linux - 什么包包括 AB Ubuntu 中的 Apache 服务器基准测试工具

我正在寻找 ab - Apache HTTP server benchmarking tool对于 Ubuntu,我希望有一个可以为它安装的软件包。我决定需要对我的应用程序进行一些简单的负载测试。

最佳答案

% sudo apt-get install apache2-utils

Ubuntu 中的 command-not-found 软件包提供了一些巧妙的功能,如果您键入无法解析为可执行文件(或 bash 函数或其他任何内容)的命令,它将查询您的 apt 源并查找包含您尝试执行的二进制文件。所以,在这种情况下,我在命令提示符下输入了 ab:


% ab
The program 'ab' is currently not installed.  You can install it by typing:
sudo apt-get install apache2-utils
bash: ab: command not found

https://stackoverflow.com/questions/66606/

相关文章:

python - ConfigParser 中的列表

ruby - 找不到 gem 命令

python - 使用Python在SQLite中插入行后如何检索插入的ID?

linux - 使用 find 命令但排除两个目录中的文件

linux - 使用 bash 为文件添加文件扩展名

python - 未找到 Virtualenv 命令

linux - 仅使用 shell 脚本从文本文件中获取特定行

python - 仅在 Django 启动 ONCE 时执行代码?

python - 如何在python中打印百分比值?

linux - 选择 Linux I/O 调度程序