Benchmark Server: Difference between revisions
Created page with "==Packets-per-second Benchmark== ===Metode ping=== sudo su ping -q -s 1 -f 192.168.0.1 ===Metoda hping3=== time hping3 192.168.0.2 -q -i u20 --icmp|tail -n10" |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Packets-per-second Benchmark== | ==Packets-per-second Benchmark== | ||
===Metode ping=== | ===Metode ping=== | ||
<syntaxhighlight lang="shell"> | |||
sudo su | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="shell"> | |||
ping -q -s 1 -f 192.168.0.1 | |||
</syntaxhighlight> | |||
===Metoda hping3=== | ===Metoda hping3=== | ||
<syntaxhighlight lang="shell"> | |||
time hping3 192.168.0.2 -q -i u20 --icmp|tail -n10 | |||
</syntaxhighlight> | |||
==Bandwidth== | |||
===Server RPi 192.168.0.1=== | |||
<syntaxhighlight lang="shell"> | |||
nc -vvlnp 12345 >/dev/null | |||
</syntaxhighlight> | |||
===Client=== | |||
Di sisi client kirim gigabyte zero melalui dd lewat nc tunnel | |||
<syntaxhighlight lang="shell"> | |||
dd if=/dev/zero bs=1M count=1K | nc -vvn 192.168.0.1 12345 | |||
</syntaxhighlight> | |||
==Source== | |||
*[https://onnocenter.or.id/wiki/index.php/Internet_offline onnocenter.or.id] | |||
[[Category:Server]] | |||
[[Category:Tutorial]] | |||