Linux

What are you using for troubleshooting and debugging network issues?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

dstat -t is great for identifying network and disk issues. netstat -tnlaup can be used to see which processes are running on which ports. lsof -i -P can be used for the same purpose as netstat. ngrep -d any metafilter for matching regex against payloads of packets. tcpdump for capturing packets wireshark same concept as tcpdump but with GUI (optional).