netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jbrouer@redhat.com
Cc: netdev@vger.kernel.org, tom@herbertland.com,
	linux-kernel@vger.kernel.org
Subject: Re: Tool for sampling /proc/net/softnet_stat statistics
Date: Tue, 08 Mar 2016 14:47:59 -0500 (EST)	[thread overview]
Message-ID: <20160308.144759.2020954787254128202.davem@davemloft.net> (raw)
In-Reply-To: <20160307163607.1da5f17e@redhat.com>

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!

      parent reply	other threads:[~2016-03-08 19:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07 15:36 Tool for sampling /proc/net/softnet_stat statistics Jesper Dangaard Brouer
2016-03-07 17:54 ` Willem de Bruijn
2016-03-08  9:50   ` Jesper Dangaard Brouer
2016-07-05 12:20     ` Jesper Dangaard Brouer
2016-03-08 19:47 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160308.144759.2020954787254128202.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=jbrouer@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=tom@herbertland.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).