0

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?

msanford
  • 1,477
  • 15
  • 28
Tiffany Walker
  • 6,681
  • 14
  • 56
  • 82
  • 1
    I feel like people downvoted this simply because the author used the word "ideal". I still think it's a valid question - "How do I get the number of packets per second on a Linux box?" – rinogo Apr 17 '17 at 16:15

2 Answers2

2

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.

alexus
  • 13,112
  • 32
  • 117
  • 174
1

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.

Karma Fusebox
  • 1,114
  • 9
  • 18