什么软件包包括AB在Ubuntu的Apache服务器基准testing工具

我正在尝试为Ubuntufindab-Apache HTTP服务器基准testing工具 ,我希望能为它安装一个软件包。 我决定我需要对我的应用程序进行一些简单的负载testing。

% sudo apt-get install apache2-utils 

在Ubuntu的命令未find的软件包提供了一些光滑的function,如果你input一个不能parsing为可执行文件(或bash函数或其他)的命令,它将查询你的apt源,并find一个包含二进制文件试图执行。 所以,在这种情况下,我在命令提示符下键入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
% 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 

search丢失文件的另一种方法,例如,如果您使用zsh,要禁用命令未find(当您input错误的命令名时减慢速度),或者正在查找不是可执行文件的文件:

 $ sudo aptitude install apt-file $ sudo apt-file update $ apt-file search bin/ab