Is there any method in Linux to list all namespaces on the running host? I need to check namespaces for particular processes (e.g. processes running in LXC-container and all other processes on the host) and then find out cgroups of them.
migrated from serverfault.com Dec 16 '13 at 16:41
This question came from our site for system and network administrators.
From ip man page for network name space
ip netns - process network namespace management A network namespace is logically another copy of the network stack, with it's own routes, firewall rules, and network devices.
For name spaces of other types, maybe there is other ways