netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Ben Greear <greearb@candelatech.com>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: Process level networking stats.
Date: Wed, 6 Mar 2024 19:57:26 -0800	[thread overview]
Message-ID: <20240306195726.11a981cb@kernel.org> (raw)
In-Reply-To: <a76c79ce-8707-f9be-14fe-79e7728f9225@candelatech.com>

On Wed, 6 Mar 2024 14:57:55 -0800 Ben Greear wrote:
> I am interested in a relatively straight-forward way to know the tx/rx bytes
> sent/received by a process. 

What is "relatively straight-forward"? :)
You could out the process in a cgroup and use cgroup hooks

  reply	other threads:[~2024-03-07  3:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 22:57 Process level networking stats Ben Greear
2024-03-07  3:57 ` Jakub Kicinski [this message]
2024-03-08  4:20   ` Ben Greear

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=20240306195726.11a981cb@kernel.org \
    --to=kuba@kernel.org \
    --cc=greearb@candelatech.com \
    --cc=netdev@vger.kernel.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).