Take the 2-minute tour ×

What is an ideal way to get the number of packets per second on a Linux box?

Would I use tcpdump or are there better methods?

share|improve this question

closed as not constructive by kce, mdpc, chutz, Dave M, Scott Pack Jan 17 '13 at 14:18


2 Answers 2

up vote 2 down vote accepted

if you need an exact number then yes, I'd use that. but if it's roughly then you might want to look into MRTG - Tobi Oetiker's MRTG - The Multi Router Traffic Grapher.

share|improve this answer

What do you need? Long term monitoring of packet statistics? Graphing? Further analysis?

If you just want to look at packet rates on a box, use iptraf.

share|improve this answer
Just to get an idea on a size of a ddos attack and the kind –  Tiffany Walker Jan 16 '13 at 20:55
