Interview Prep/Linux/Rapid-Fire Commands

Show per-CPU softirq activity to spot network processing hot spots.

IntermediateProductionRapid-Fire Commands
Answer
watch -d -n1 'grep -E "NET_RX|NET_TX" /proc/softirqs'
mpstat -P ALL 1 | awk '$NF ~ /[0-9]/ {print $3, $(NF-4)}'   # %soft per CPU

One CPU with most NET_RX means RSS/RPS or IRQ affinity needs tuning.

All Linux questions Roadmap: Linux

More on Rapid-Fire Commands