【问题标题】:How to use tool 'vegeta' in windows如何在 Windows 中使用工具“vegeta”
【发布时间】:2021-10-06 05:37:54
【问题描述】:

我安装了golang最新版本(go版本go1.17.1 windows/amd64)

我使用命令go install github.com/tsenart/vegeta@latest成功安装了vegeta

但如果我命令,正如我在 cmd 中看到的 vegeta --helpecho "GET http://localhost:8080/" | vegeta attack -duration=5s | tee results.bin | vegeta report

然后我面对 'tee' is not recognized as an internal or external command, executable program or batch file.

我不知道为什么会这样

我是不是命令错了?我认为echo "GET ~~ vegeta report 命令适用于类Unix,可能不适用于Windows。

【问题讨论】:

    标签: windows cmd vegeta


    【解决方案1】:

    tee (广义地说)是一个 Linux 命令。幸运的是,powershell 有一个版本,请尝试使用它而不是 cmd

    Related question

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-04-30
      • 2011-10-12
      • 1970-01-01
      • 1970-01-01
      • 2010-10-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多