macos安装iper3

复制代码
brew install iperf3

Running `brew update --auto-update`...

安装homebrew,长久没用使用更新失效了。只好重新安装

复制代码
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"```

破案了

原来是需要海外网了。。。。

复制代码
brew install iperf3

liangyuyue@YuyueMacBook-Air ~ % brew install iperf3
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://ghcr.io/v2/homebrew/core/iperf3/manifests/3.19
######################################################################### 100.0%
==> Fetching dependencies for iperf3: ca-certificates and openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2025-
######################################################################### 100.0%
==> Fetching ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:dd
######################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.5.1
######################################################################### 100.0%
==> Fetching openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:fadc8218
######################################################################### 100.0%
==> Fetching iperf3
==> Downloading https://ghcr.io/v2/homebrew/core/iperf3/blobs/sha256:e2ca4956b12
######################################################################### 100.0%
==> Installing dependencies for iperf3: ca-certificates and openssl@3
==> Installing iperf3 dependency: ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2025-
Already downloaded: /Users/liangyuyue/Library/Caches/Homebrew/downloads/bc18acc15e0abddc102f828b57a29cfdbec1b6b002db37ad12bad9dbf0e9d12f--ca-certificates-2025-05-20.bottle_manifest.json
==> Pouring ca-certificates--2025-05-20.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺  /opt/homebrew/Cellar/ca-certificates/2025-05-20: 4 files, 225.8KB
==> Installing iperf3 dependency: openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.5.1
Already downloaded: /Users/liangyuyue/Library/Caches/Homebrew/downloads/9d8c8da104539ae29f198f366fe5794ac377d96a92458ae62557e3f83b03a351--openssl@3-3.5.1.bottle_manifest.json
==> Pouring openssl@3--3.5.1.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/openssl@3/3.5.1: 7,563 files, 35.4MB
==> Installing iperf3
==> Pouring iperf3--3.19.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/iperf3/3.19: 12 files, 555.5KB
==> Running `brew cleanup iperf3`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

 iperf3 -c 192.168.1.99 -p 5001 -t 10 -i 1

-c 192.168.1.10:服务器 IP

-p 5001:服务器端口

-t 10:持续 10 秒。

-i 1:每一秒✋一次

相关推荐
لا معنى له2 小时前
残差网络论文学习笔记:Deep Residual Learning for Image Recognition全文翻译
网络·人工智能·笔记·深度学习·学习·机器学习
爬山算法3 小时前
Redis(153)Redis的网络使用如何监控?
网络·redis·bootstrap
极地星光3 小时前
C++链式调用设计:打造优雅流式API
服务器·网络·c++
橘子真甜~4 小时前
C/C++ Linux网络编程8 - epoll + ET Reactor TCP服务器
linux·服务器·网络
贝塔实验室5 小时前
红外编解码彻底解析
网络·嵌入式硬件·信息与通信·信号处理·代码规范·基带工程·精益工程
就叫飞六吧5 小时前
“电子公章”:U盾(U-Key)实现身份认证、财务支付思路
网络·笔记
wanderist.5 小时前
Linux使用经验——离线运行python脚本
linux·网络·python
biter00886 小时前
Ubuntu 22.04 有线网络时好时坏?最终解决方案
linux·网络·ubuntu
世界尽头与你7 小时前
SSL 签名相关漏洞
网络·安全·ssl
g***B7388 小时前
Rust在网络中的Tokio
开发语言·网络·rust