NAME
lsns - list namespacesSYNOPSIS
lsns [options] namespaceDESCRIPTION
lsns lists information about all the currently accessible namespaces or about the given namespace. The namespace identifier is an inode number.OPTIONS
-J, --jsonUse JSON output format.
Use list output format.
Do not print a header line.
Specify which output columns to print. Use
--help to get a list of all supported columns.
The default list of columns may be extended if list is specified in the
format +list (e.g., lsns -o +PATH).
Output all available columns.
Display only the namespaces held by the
process with this PID.
Use the raw output format.
Display the specified type of
namespaces only. The supported types are mnt, net, ipc,
user, pid, uts, cgroup and time. This
option may be given more than once.
Do not truncate text in columns.
Do not use multi-line text in columns.
Use tree-like output format. If process
is given as rel, print process tree(s) in each name space. This is
default when --tree is not specified. If parent is given, print
tree(s) constructed by the parent/child relationship. If owner is
given, print tree(s) constructed by the owner/owned relationship. owner
is used as default when rel is omitted.
Display help text and exit.
Print version and exit.
AUTHORS
Karel <[email protected]>ZakSEE ALSO
nsenter(1), unshare(1), clone(2), namespaces(7), ioctl_ns(2), ip-netns(8)REPORTING BUGS
For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>.AVAILABILITY
The lsns command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.2022-07-20 | util-linux 2.38.1 |