From 7ebae5df505c81dcfe61fbe86f2af38adf5b52b0 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 10 Jul 2013 22:26:42 +0200 Subject: ifpps: Reduce default number of top hitter CPUs to 5 Since we now also display the average (and in the future possibly also the standard deviation), reduce the default number of CPUs displayed to 5, to keep terminal space usage low. Suggested-by: Daniel Borkmann Signed-off-by: Tobias Klauser --- ifpps.8 | 2 +- ifpps.c | 4 ++-- 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 Device to fetch statistics for e.g., eth0\n" " -t|--interval