summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ifpps.82
-rw-r--r--ifpps.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ifpps.8 b/ifpps.8
index 1b38910..a22ca23 100644
--- a/ifpps.8
+++ b/ifpps.8
@@ -36,7 +36,7 @@ statistics, which are also fairly reliable under high packet load.
.PP
ifpps also periodically displays CPU load, interrupt, software interrupt
data per sample interval as well as total interrupts, all per CPU. In case
-the number of CPUs exceeds 10 or the number specified by the user with the
+the number of CPUs exceeds 5 or the number specified by the user with the
\[lq]\-n\[rq] command line option, ifpps will only display this number top
heavy hitters. The topmost heavy hitter CPU will be marked with \[lq]+\[rq].
The least heavy hitter will always be displayed and is marked with
diff --git a/ifpps.c b/ifpps.c
index 57969f0..1242f30 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -112,7 +112,7 @@ static void __noreturn help(void)
" -d|--dev <netdev> Device to fetch statistics for e.g., eth0\n"
" -t|--interval <time> Refresh time in ms (default 1000 ms)\n"
" -n|--num-cpus <num> Number of top hitter CPUs to display\n"
- " in ncurses mode (default 10)\n"
+ " in ncurses mode (default 5)\n"
" -p|--promisc Promiscuous mode\n"
" -c|--csv Output to terminal as Gnuplot-ready data\n"
" -l|--loop Continuous CSV output\n"
@@ -1160,7 +1160,7 @@ int main(int argc, char **argv)
{
short ifflags = 0;
int c, opt_index, ret, cpus, promisc = 0;
- unsigned int top_cpus = 10;
+ unsigned int top_cpus = 5;
uint64_t interval = 1000;
char *ifname = NULL;
int (*func_main)(const char *ifname, uint64_t ms_interval,