LSNS(8) LSNS(8) lsns - lsns [] lsns -. - inode. . , , . (--tree --list) --output , . NSFS, , net --type, ; . --nowrap <<,>>. , lsns /proc, root . /proc PID (. unshare --mount-proc, ). lsns , ' /proc/pid/ns/. -H, --list-columns List the available columns, use with --json or --raw to get output in machine-readable format. -J, --json B JSON. -l, --list . -n, --noheadings . -o, --output , . --help, . , I<> + ( lsns -o +PATH). --output-all . -P, --persistent Display only the namespaces without processes (aka persistent namespaces), created by bind mounting /proc/pid/ns/type files to a filesystem path. -p, --task PID , pid. -Q, --filter Print only the namespaces that meet the conditions specified by the expr. This feature is EXPERIMENTAL. See also scols-filter(5). For example exclude root as username, but print every namespaces more than one process belongs to: lsns --filter 'USER != "root" and NPROCS > 1' -r, --raw . -t, --type . mnt, net, ipc, user, pid, uts, cgroup time. . -u, --notruncate . -W, --nowrap . -T, --tree[=] . process, . , --tree. parent, , / . owner, , -. owner , . -h, --help . -V, --version . lsns : 0 . 1 . 2 ioctl . LSNS_DEBUG=all lsns. Karel Zak nsenter(1), unshare(1), clone(2), namespaces(7), ioctl_ns(2), ip-netns(8) scols-filter(5) lsns util-linux, Linux . util-linux 2.41 2025-03-29 LSNS(8)