This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
linux:network [2011/12/03 04:08] tkilla created |
linux:network [2016/08/15 22:41] tkilla |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | |||
+ | ===== useful | ||
+ | |||
+ | ==== tcpdump ==== | ||
+ | |||
+ | Tcpdump prints out a description of the contents of packets on a network interface that match the boolean expression.. | ||
+ | |||
+ | Examples: | ||
+ | * dns: $ tcpdump -i eth0 'udp port 53' | ||
+ | * http: $ tcpdump 'tcp port 80' | ||
+ | * ftp: $ tcpdump -i eth0 '(port 21 or 20)' | ||
+ | |||
+ | |||
+ | ==== mtr - mytraceroute ==== | ||
+ | |||
+ | mtmtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.r combines the functionality of the traceroute and ping programs in a single network diagnostic tool. | ||
+ | |||
+ | |||
+ | ==== iptraf ==== | ||
+ | |||
+ | iptraf | ||
+ | |||
+ | |||
+ | ==== iftop ==== | ||
+ | |||
+ | iftop listens to network traffic on a named interface ... and displays a table of current bandwidth usage by pairs of hosts. | ||
+ | |||
+ | -i | ||
+ | |||
+ | -p Run in promiscuous mode | ||
+ | |||
+ | -P Turn on port display | ||
+ | |||
+ | -F | ||
+ | |||
+ | |||
+ | ==== iperf ==== | ||
+ | |||
+ | iperf -c iperf.ovh.net -m -i 1 -t 10 -r | ||