Thread (5 messages) flat view 5 messages, 2 authors, 2016-09-01

Re: [PATCH iproute] iptuntap: show processes using tuntap interface

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2016-08-25 15:44:12

On Wed, 24 Aug 2016 20:08:25 +0200
Hannes Frederic Sowa [off-list ref] 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 <redacted>
I think reading all of /proc like this will scale really badly on large systems.
Why reinvent lsof?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help