【问题标题】:how to install apache benchmark on mac如何在 mac 上安装 apache 基准测试
【发布时间】:2020-09-24 09:22:35
【问题描述】:

我正在尝试使用以下命令通过 brew 在我的 macos(macOS Mojave) 上安装 Apache BenchMark:

brew install homebrew/apache/ab

收到此错误:

Error: homebrew/apache was deprecated. This tap is now empty and all its contents were either deleted or migrated.

【问题讨论】:

    标签: macos apache apachebench


    【解决方案1】:

    注意! ApacheBench (ab) 默认安装在 macOS 上。

    • 您可以使用
    • 进行检查

    ab -h [for help/information] [用于检查ab版本] ab -V

    参考:https://vyspiansky.github.io/2019/12/02/apache-bench-for-load-testing/

    【讨论】:

    • 不是在 Catalina 中。
    • @ChrisF 不,它在 macOS Catalina 中仍然可用。我在我的机器上验证了它。 (版本 10.15.7)
    • 好的,但是如何更新它的版本?
    猜你喜欢
    • 2013-10-25
    • 2012-05-14
    • 2011-03-14
    • 1970-01-01
    • 1970-01-01
    • 2012-02-05
    • 2012-09-17
    • 1970-01-01
    • 2016-06-12
    相关资源
    最近更新 更多