Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1353354

Re: Tool for sampling /proc/net/softnet_stat statistics

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: Tool for sampling /proc/net/softnet_stat statistics
Date 2016-03-08 21:00 +0100
Message-ID <ravXs-5uX-3@gated-at.bofh.it> (permalink)
References <ra5qi-4EI-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Jesper Dangaard Brouer <jbrouer@redhat.com>
Date: Mon, 7 Mar 2016 16:36:07 +0100

> I lack of better, I coded up my own tool softnet_stat.pl here:
>  https://github.com/netoptimizer/network-testing/blob/master/bin/softnet_stat.pl
> 
> The output format/columns in /proc/net/softnet_stat is undocumented,
> plus values are printed in hex.  E.g. to decode the columns you need to
> read kernel function kernel softnet_seq_show() in
> kernel/net/core/net-procfs.c.
> 
> To make things easier I wrote this small perl script for get
> so human readable statistics from /proc/net/softnet_stat.

Good stuff!

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Tool for sampling /proc/net/softnet_stat statistics Jesper Dangaard Brouer <jbrouer@redhat.com> - 2016-03-07 16:40 +0100
  Re: Tool for sampling /proc/net/softnet_stat statistics Willem de Bruijn <willemdebruijn.kernel@gmail.com> - 2016-03-07 19:00 +0100
    Re: Tool for sampling /proc/net/softnet_stat statistics Jesper Dangaard Brouer <jbrouer@redhat.com> - 2016-03-08 11:00 +0100
  Re: Tool for sampling /proc/net/softnet_stat statistics David Miller <davem@davemloft.net> - 2016-03-08 21:00 +0100

csiph-web