From: Stephen Hemminger <stephen@networkplumber.org>
To: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH iproute] iptuntap: show processes using tuntap interface
Date: Thu, 25 Aug 2016 08:44:24 -0700 [thread overview]
Message-ID: <20160825084424.73a31b8a@xeon-e3> (raw)
In-Reply-To: <1472062105-17995-1-git-send-email-hannes@stressinduktion.org>
On Wed, 24 Aug 2016 20:08:25 +0200
Hannes Frederic Sowa <hannes@stressinduktion.org> wrote:
> Show which processes are using which tun/tap devices, e.g.:
>
> $ ip -d tuntap
> tun0: tun
> Attached to processes: vpnc(9531)
> vnet0: tap vnet_hdr
> Attached to processes: qemu-system-x86(10442)
> virbr0-nic: tap UNKNOWN_FLAGS:800
> Attached to processes:
>
> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
I think reading all of /proc like this will scale really badly on large systems.
Why reinvent lsof?
next prev parent reply other threads:[~2016-08-25 15:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-24 18:08 [PATCH iproute] iptuntap: show processes using tuntap interface Hannes Frederic Sowa
2016-08-25 15:44 ` Stephen Hemminger [this message]
2016-08-25 19:37 ` Hannes Frederic Sowa
2016-09-01 16:06 ` Stephen Hemminger
2016-09-01 16:07 ` Hannes Frederic Sowa
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=20160825084424.73a31b8a@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=hannes@stressinduktion.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.