Difference between revisions of "Nc: mengukur bandwidth"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 26: | Line 26: | ||
1073741824 bytes (1,1 GB) copied, 41,3228 s, 26,0 MB/s | 1073741824 bytes (1,1 GB) copied, 41,3228 s, 26,0 MB/s | ||
− | Perhatikan bahwa hasilnya dalam megabyte per | + | Perhatikan bahwa hasilnya dalam megabyte per deti. Bandwidth sebenarnya dikali 8, |
+ | |||
+ | 8 x 26.0 MB/s = 208 Mbps | ||
==Referensi== | ==Referensi== |
Revision as of 07:59, 12 December 2018
Topologi:
- Sebuah Server (misalnya 192.168.0.1)
- Sebuah Client (misalnya 192.168.0.x/24)
- tersambung melalui jaringan
- port 12345
Di Sisi Server
Di mesin server (192.168.0.1)
nc -vvlnp 12345 >/dev/null
Di Sisi Client
Di sisi client kirim gigabyte zero melalui dd lewat nc tunnel
dd if=/dev/zero bs=1M count=1K | nc -vvn 192.168.0.1 12345
Waktu demo akan keluar kira-kira
Connection to 192.168.0.1 12345 port [tcp/*] succeeded! 1024+0 records in 1024+0 records out 1073741824 bytes (1,1 GB) copied, 41,3228 s, 26,0 MB/s
Perhatikan bahwa hasilnya dalam megabyte per deti. Bandwidth sebenarnya dikali 8,
8 x 26.0 MB/s = 208 Mbps
Referensi