DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Adel Belkhiri <adel.belkhiri@gmail.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Exporting DPDK network interfaces statistics
Date: Mon, 23 Mar 2020 11:31:41 +0000	[thread overview]
Message-ID: <20200323113141.GA1513@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <CAMxxxdP3_FkNpi-c9Eq4z7B_1w9FcsvttVo_XMaH1OX4zBcH1A@mail.gmail.com>

On Sat, Mar 21, 2020 at 02:47:22PM -0400, Adel Belkhiri wrote:
> Hello guys,
> 
> I'm trying to develop a monitoring tool capable of exporting some
> statistics about DPDK network interfaces. The problem with spawning a
> "secondary process", the way proc-info does, is that not all the network
> interfaces are "seen" but just those managed by a single primary process.
> 
> I was wondering if there is another way to implement this without spawning
> many processes.
> 
> Thank you.
> 

Have you looked into the telemetry library and it's socket interface for
getting stats? If you run e.g. testpmd with --telemetry you can view stats
using the dpdk-telemetry-client.py script in usertools. There is also some
enhancments to telemetry proposed, which might be of interest to you too,
since it allows easier querying of the stats:
http://patches.dpdk.org/project/dpdk/list/?series=8987

      parent reply	other threads:[~2020-03-23 11:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-21 18:47 Adel Belkhiri
2020-03-22  8:02 ` Tanvir Kekan
2020-03-23 11:31 ` Bruce Richardson [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=20200323113141.GA1513@bricha3-MOBL.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=adel.belkhiri@gmail.com \
    --cc=dev@dpdk.org \
    /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).