0

There appears to be no way to do this from the man page. When I run ngrep on a port that's serving continuous traffic, I get a ton of results streaming. I want to limit to the number of results such a what can be done with grep -m.

imagineerThat
  • 5,293
  • 7
  • 42
  • 78

1 Answers1

1

You can do ngrep -n which only matches "x" total packets, where x is your input.

John
  • 549
  • 4
  • 12