From c2e6ac191eb0a721570bf4bcb747c08f6487c7aa Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 30 May 2013 16:34:56 +0200 Subject: ifpps: Allow to select number of top hitter CPUs by command line option Instead of hard-coding the maximum number of top hitter CPUs, allow the user to set it manually using a command line option. The default value (if no command line parameter is specified) remains at 10. Also update the manpage accordingly. Signed-off-by: Tobias Klauser --- ifpps.8 | 4 ++++ ifpps.c | 39 ++++++++++++++++++++++++--------------- 2 files changed, 28 insertions(+), 15 deletions(-) diff --git a/ifpps.8 b/ifpps.8 index 97a3760..26827b2 100644 --- a/ifpps.8 +++ b/ifpps.8 @@ -47,6 +47,10 @@ Networking device to fetch statistics from, for example, eth0, wlan0. .SS -t