Hello,
 
here is a short survey of tools related to network (bandwidth) monitoring.
As far as I remember all tools are available with Debian GNU/Linux. 
In my opinion nethog and/or iftop are more suitable than iptraf.
If you want to stay with iptraf, please consider to take iptraf-ng.
iftop uses PCAP and I would like to recommend this.
 
Best regards,
 
Werner
 


 

iftop

 

man iftop

iftop listens to network traffic on a named interface, or on the first interface it can find which looks like an external interface if none is specified, and displays a table of  current  bandwidth usage  by  pairs  of hosts. 

 

example 

"How much bandwidth are users wasting trying to figure out why the network is slow?"

Quelle: man iftop

 

iftop -i enp0s3 -f "icmp and host heise.de"

 

-f # filter, see man pcap-filter, same as used by tcpdump

-i # interface


jnettop

man jnettop

jnettop captures traffic coming across the host it is running on and displays  streams  sorted  by  bandwidth they  use. Result is a nice listing of communication on network by host and port, how many bytes went through this transport and the bandwidth it is consuming.

 

example

jnettop -i wlp3s0 -x "icmp and host heise.de"

 

-x # _expression_ aka filter, see pcap-filter, same as used by tcpdump

-i # interface



 

nethogs

man nethogs

NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most such tools do, it groups bandwidth by process - and does not rely on a special kernel module to be loaded. So if  there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this, and if it's some kind of spinning process, kill it.

 

MalTrail

https://github.com/stamparm/MalTrail 

 

curl

https://www.tecmint.com/test-website-loading-speed-in-linux-terminal/ 

 

bmon ***

Description: portable bandwidth monitor and rate estimator bmon is a commandline bandwidth monitor which supports various output methods including an interactive curses interface, lightweight HTML output but also simple ASCII output.

.

Statistics may be distributed over a network using multicast or unicast and collected at some point to generate a summary of statistics for a set of nodes.

 

https://www.howtogeek.com/664589/how-to-use-bmon-to-monitor-network-bandwidth-on-linux/ 

 

https://www.linuxjournal.com/content/queueing-linux-network-stack ***

 

bpfmon **

https://github.com/bbonev/bpfmon 


vnstat ***

console-based network traffic monitor

 vnStat is a network traffic monitor for Linux. It keeps a log of  daily network traffic for the selected interface(s). vnStat is not  a packet sniffer. The traffic information is analyzed from the /proc filesystem, so vnStat can be used without root permissions.

 

 

iptraf-ng

http://iptraf.seul.org/2.2/manual.html 



 

ifstat

https://www.redhat.com/sysadmin/ifstat-network-statistics 

 

iperf3

https://www.redhat.com/sysadmin/network-testing-iperf3 **

 

netstress.deb

..


nload (and dstat)

https://www.linux-magazin.de/ausgaben/2020/02/einfuehrung-2-22/ 

 

https://www.redhat.com/sysadmin/beginners-guide-network-troubleshooting-linux 

 

OpenNMS

OpenNMS is an open source solution that helps you visualize and monitor everything on your local and remote networks. It offers comprehensive fault, performance, traffic monitoring, and alarm generation in one place. Highly customizable and scalable, OpenNMS easily integrates with your core business applications and workflows.

https://www.opennms.com/ 

 

More tools

http://xmodulo.com/useful-command-line-network-monitors-linux.html (lesenswert)

https://www.tecmint.com/linux-network-bandwidth-monitoring-tools/ **

 

https://www.sunnyvalley.io/docs/network-basics/network-optimization *** theory of network performance


 
--
|=| Werner Heuser
|=| gpg: https://keybase.io/wehe00
|*| This is no time for phony rhetoric -- Lou Reed
 
 
Gesendet: Donnerstag, 02. November 2023 um 19:42 Uhr
Von: "Jeroen Baten via lpi-examdev" <[email protected]>
An: [email protected]
Cc: "Jeroen Baten" <[email protected]>
Betreff: Re: [lpi-examdev] Objectives LPIC-2 Exam 201 Version 5.0 Discussion

Well, iotop and iostat measure io, as the name sort of implies.

They are therefore not tools to measure network performance.

On 11/2/23 19:18, Éric Deschamps via lpi-examdev wrote:
 
iptraf is the (almost) only tool mentioned to measure
network performance, are there other or even better tools?

`iotop` and `iostat` where referenced for LPIC-2-v4.5.
--
Jeroen Baten              | EMAIL :  [email protected]
 ____  _  __              | web   :  www.i2rs.nl
  |  )|_)(_               | tel   :  +31 (0)648519096
 _|_/_| \__)              | Frisolaan 16, 4101 JK, Culemborg, the Netherlands
_______________________________________________ lpi-examdev mailing list [email protected] https://list.lpi.org/mailman/listinfo/lpi-examdev
_______________________________________________
lpi-examdev mailing list
[email protected]
https://list.lpi.org/mailman/listinfo/lpi-examdev

Reply via email to