On Thu, 24 Nov 2016 16:12:39 +0200
Nogah Frankel <nog...@mellanox.com> wrote:

> Add extended stats option for ifstat. It supports stats that are in the
> nesting level as the "normal" stats or one lower, as long as they are in
> the same struct type as the "normal" stats.
> Every extension is unaware of data from other extension and is being
> presented by itself.
> The extension can be called by its name or any shorten of it. If there is
> more then one matched, the first one will be picked.
> To get the extended stats the flag -x <stats type> is used.
> Signed-off-by: Nogah Frankel <nog...@mellanox.com>
> Reviewed-by: Jiri Pirko <j...@mellanox.com>

Finally clearing up iproute2 patch backlog. This feature looks good,
but does not apply cleanly to current git master branch.

--- misc/ifstat.c
+++ misc/ifstat.c
@@ -733,7 +790,8 @@ static void usage(void)
 "   -s, --noupdate     don\'t update history\n"
 "   -t, --interval=SECS        report average over the last SECS\n"
 "   -V, --version      output version information\n"
-"   -z, --zeros                show entries with zero activity\n");
+"   -z, --zeros                show entries with zero activity\n"
+"   -x, --extended=TYPE        show extended stats of TYPE\n");

Please rebase your patches and resubmit.

Reply via email to