Rapid-fire: how do you find the top talkers on a server's interface?
BeginnerProductionRapid-Fire Commands
Answer
sudo iftop -i eth0 -nNP
sudo nethogs eth0
sudo tcpdump -nn -i eth0 -c 1000 | awk '{print $3}' | cut -d. -f1-4 | sort | uniq -c | sort -rn | head
More on Rapid-Fire Commands
Rapid-fire: how do you see which process listens on port 443?BeginnerRapid-fire: how do you check DNS resolution against a specific server?BeginnerRapid-fire: how do you measure where time goes in an HTTPS request?BeginnerRapid-fire: how do you find the route and source IP used to reach 10.1.2.3?BeginnerRapid-fire: how do you test TCP reachability without telnet?BeginnerRapid-fire: how do you show the TLS certificate expiry of a live site?Beginner