iperf 2.0.5/3.0b4 for windows 已打包成自解檔, 直接執行即可, 預設安裝路徑: C:\Windows\
安裝完畢後,會自動開啟 Run_iperf.txt 的文字檔,內含預設的語法。
iperf 2.05 已測試 OS: Windows 7 32bit / Windows7 64bit/ Windows 2008 R2 EE / WindowsXP SP2 32bit
本地下載:
iperf205_win.exe (991.5 KiB, 1,306 hits)
Source 下載: Linux
==[Iperf 3.0 b4 for Win (Cygwin ver.) ]============================
iperf 3.0b4 已測 OS: Windows 7 32bit /
未測 OS: Windows 7 64bit / Windows 2008 / Windows 2008 R2
iperf 3.0b4 for win (Cygwin ver.) 大小: 1.6MB 下載:
iperf30b4_win.exe (unknown, 180 hits)
iperf30b4_win.exe (unknown, 100 hits)
iperf30b4_win.exe (unknown, 64 hits)
================================================
[iperf 使用語法]
Server Side:
iperf.exe -s -w 512K -l 64K -p 5001 >> 5001.log
Client Side:
iperf.exe -c 127.0.0.1 -w 512K -l 64K -p 5001 >> 5001.log
————————————————————————————–
編譯參考:
Building a Cross compiler for Windows on Linux - http://silmor.de/39
——
Iperf 3.0b4 google code hosting:
http://code.google.com/p/iperf/
Quick Download: iperf 3.0b4 for Linux
===========[編譯筆記]==================================
將網路上的 iperf3.0 beta 4 下載回來後放到 c:\cygwin\home\Mark\
執行 tar zxvf iperf-3.0b4.tar.gz
./configure && make && make install
(在編譯完成後,iperf.exe 或 iperf3.exe 會在 /usr/local/bin 下,再將檔案複製回 /home/mark 下)
接下來檢查需要的 DLL 檔,利用下面的 chkdll.sh 來檢查。
===[將以下的內容,複製在 cygwin 的 視窗貼上即會自動存成 chkdll.sh]=====
cat >> chkdll.sh <<EOF1
if [ "$1" != "" ]; then
objdump.exe -p $1|grep -i "DLL NAME"
else
echo "Usage: $0 iperf.exe"
fi
EOF1
====================================================
chmod +x chkdll.sh
chkdll.sh 跟 iperf.exe 要放在一起執行才不會有問題。
sh chkdll.sh iperf.exe 接下來就會顯示,在執行 iperf.exe 所需要的 DLL 檔案。
其中顯示的 KERNEL32.DLL 是 WINDOWS 內建的 DLL 不需要打包。
剩下的 DLL 檔案皆可在 /bin/ 下找到,並複製跟 iperf.exe 放在一起。
做成自解壓縮檔把 .dll 及 .exe 在解壓縮時預設路徑,統統都放到 c:\Windows\ 即可。
—————————————–
7z-sfx 自解安裝檔參數:
%WinDir% = C:\Windows
%UserProfile% =C:\Users\UserName , Ex: C:\Users\Mark
———————————————————————–


您好 : 小弟想下載 iperf205_win.exe (991.5 KiB, 727 hits) , 但.. 不知密碼為何, 無法下載。 感恩 ^^
抱歉,設定的問題,目前已修正,請再試試。
謝謝大大的回覆.
另外想請問,為什麼在windows使用cygwin編譯後可以在windows環境中執行呢?
是否可以提供我一些方向或建議? 我想試著編譯成windows可以執行的版本
方法就在文章裡最後的參考文章的連結裡。
請問版主大大
要如何在LINUX下將iperf3, cross compile成 windows可執行的程式??
目前還沒有試出來,如果有試出來,會再跟大家分享。
目前是使用 cygwin 在 windows 做 編譯。但是由於 iperf 3.0 b4 為 beta 版本,目前暫時還不想要去測試編譯。
想要等 正式版本的 iperf3 出來之後,再來編譯。
To RR2:
iperf 3.0 b4 已編譯成 windows – cygwin 版本
請重新下載,謝謝。