summaryrefslogtreecommitdiff
path: root/ifpps.8
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-05-30 16:34:56 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-05-30 16:38:00 +0200
commitc2e6ac191eb0a721570bf4bcb747c08f6487c7aa (patch)
tree3d403d5e234a72d56249e54bf53ae07774ffb544 /ifpps.8
parentc1aee513247783489c45507808b5a4589f6fb43a (diff)
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 <tklauser@distanz.ch>
Diffstat (limited to 'ifpps.8')
-rw-r--r--ifpps.84
1 files changed, 4 insertions, 0 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 <time>, --interval <time>
Statistics refresh interval in milliseconds, default is 1000ms.
.PP
+.SS -n, --num-cpus
+Set maximum number of top hitter CPUs (in terms of time spent in system/user
+mode) to display in ncurses mode, default is 10.
+.PP
.SS -p, --promisc
Turn on promiscuous mode for the given networking device.
.PP