lsof does not support mount namespaces of Linux. Instead you just get alof of (stat: No such file or directory) outputs. Fixing this requires reworking the source to use openat() to still have access to /proc when in a differn't namespace. Only works as root (CAP_SYS_ADMIN). Patch attached. Cheers, Shawn
Shawn, Thank you for the patch. I just got back from an extended trip, so I won't be able to look at this for a while. Vic
last version of this patch made use of an unitilized variable (NoNS)