• Edit
  • Delete

Linux Network Monitoring/Diagnosis/Top

What's going on now

Local Ports

ss - another utility to investigate sockets

-p -> show process

- n -> show numeric port number

  • ss -lt
    • Show local tcp ports
  •  ss -lu
    • Show local udp ports

iftop

Displays traffic by host, also sums up traffic, optionaly by port/service

  • iftop
  • iftop -P

 

iptraf 

Displays traffic by host, special area for ICMP and UDP
Nice general overview per protocol (TPC, UDP, ICMP,)

Turn on DNS-Lookup and Port names in Configuration

  • iptraf

What exactly does "Statistical breakdown" -> "By TCP/UDP port" show?

 

nethogs

Displays network connections per user

  • nethogs eth0

tcpdump

Dump detailed traffic on a network

  • Traffic by port
    • tcpdump -i eth0 -s 1500 port 3306

Continuous Monitoring

ntop

Provides information per protocol

https://www.ullright.org/ullWiki/show/ntop