大家好,波哥又来给大家推荐好东西啦!
如果大家有需要帮忙推荐的工具、框架、应用、脚本可以在文章下方留言,留言中被点赞、推荐回复较多的,波哥就会帮各位提前安排哦!
介绍
oha 是一个开源的 HTTP 负载测试工具,用于测试服务器的性能。它类似于 wrk 和 hey,但提供了更多的功能和更友好的用户界面。
安装
该程序基于稳定的 Rust 构建,make并具备cmake通过 Cargo 安装的先决条件。
cargo install oha
您可以选择针对native-tls而不是rustls构建 oha 。
cargo install --no-default-features --features rustls oha
您可以通过启用功能来启用 VSOCK 支持vsock。
cargo install --features vsock oha
在 Arch Linux 上
pacman -S oha
在 macOS 上 (Homebrew)
brew install oha
在 Windows 上 (winget)
winget install hatoo.oha
在 Debian 上(Azlux 的存储库)
echo "deb [signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian/ stable main" | sudo tee /etc/apt/sources.list.d/azlux.list
sudo wget -O /usr/share/keyrings/azlux-archive-keyring.gpg https://azlux.fr/repo.gpg
apt update apt install oha
截图
地址
项目地址:
https://github.com/hatoo/oha
觉得不错别忘了给波哥一键三连哦!