]> granicus.if.org Git - procps-ng/commit
procps: add support for linux namespaces
authorAristeu Rozanski <arozansk@redhat.com>
Mon, 8 Apr 2013 19:03:13 +0000 (15:03 -0400)
committerAristeu Rozanski <arozansk@redhat.com>
Tue, 16 Apr 2013 19:05:21 +0000 (15:05 -0400)
commita01ee3c0b32d4c39aa83066ed61103343469527e
tree08c52b4d4943360b0e98bc3ef45d580579187cde
parentfc503b442dc2bd974291cfad47cc2140a17ebf85
procps: add support for linux namespaces

Each process in Linux has a /proc/<pid>/ns directory which contains
symbolic links to pipes that identify which namespaces that process
belongs to. This patch adds support for ps to display that information
optionally.

Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
proc/libprocps.sym
proc/readproc.c
proc/readproc.h
ps/output.c
ps/ps.1