On Wed, 24 Aug 2016 20:08:25 +0200
Hannes Frederic Sowa <han...@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 <han...@stressinduktion.org>

I think reading all of /proc like this will scale really badly on large systems.
Why reinvent lsof?

Reply via email to