Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

2 Answers

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
add comment

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
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.