10
I want to see what network traffic is happening on my server. What tools can I use?
Loading...
Q&A · Answered
I want to see what network traffic is happening on my server. What tools can I use?
Accepted answer
# Real-time bandwidth per interface
sudo apt install iftop
sudo iftop -i eth0
# Network statistics
nethogs
nload
# Connection monitoring
sudo netstat -tunap
sudo ss -tunap
# Packet capture
sudo tcpdump -i eth0 port 80
# Check bandwidth usage
vnstat -dSay what you tried, not only what worked — the next person needs the reasoning. Code goes in a fenced block.