想要改进这个问题? Update the question所以它是on-topic堆栈溢出。
关闭 10 年前。
我正在寻找 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/