lsns man page on Kali

Man page or keyword search:  
man Server   9211 pages
apropos Keyword Search (all sections)
Output format
Kali logo
[printable version]


LSNS(8)			     System Administration		       LSNS(8)

NAME
       lsns - list namespaces

SYNOPSIS
       lsns [options] [namespace]

DESCRIPTION
       lsns lists information about all the currently accessible namespaces or
       about the given namespace.  The namespace identifier is an  inode  num‐
       ber.

       The  default  output  is	 subject to change.  So whenever possible, you
       should avoid using default outputs in your scripts.  Always  explicitly
       define  expected	 columns  by using the --output option together with a
       columns list in environments where a stable output is required.

       Note that lsns reads information directly from the /proc filesystem and
       for  non-root  users it may return incomplete information.  The current
       /proc filesystem may be unshared and affected by a PID  namespace  (see
       unshare	--mount-proc  for more details).  lsns is not able to see per‐
       sistent namespaces without processes where the  namespace  instance  is
       held by a bind mount to /proc/pid/ns/type.

OPTIONS
       -J, --json
	      Use JSON output format.

       -l, --list
	      Use list output format.

       -n, --noheadings
	      Do not print a header line.

       -o, --output list
	      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).

       -p, --task pid
	      Display only the namespaces held by the process with this pid.

       -r, --raw
	      Use the raw output format.

       -t, --type type
	      Display  the  specified  type of namespaces only.	 The supported
	      types are mnt, net, ipc, user, pid, uts and cgroup.  This option
	      may be given more than once.

       -u, --notruncate
	      Do not truncate text in columns.

       -V, --version
	      Display version information and exit.

       -h, --help
	      Display help text and exit.

AUTHORS
       Karel Zak <kzak@redhat.com>

SEE ALSO
       nsenter(1), unshare(1), clone(2), namespaces(7)

AVAILABILITY
       The  lsns  command  is  part of the util-linux package and is available
       from https://www.kernel.org/pub/linux/utils/util-linux/.

util-linux			 December 2015			       LSNS(8)
[top]

List of man pages available for Kali

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net