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>
This commit is contained in:
24
ps/ps.1
24
ps/ps.1
@@ -1299,6 +1299,10 @@ format is displayed. (alias
|
||||
.BR sig_ignore , \ sigignore ).
|
||||
T}
|
||||
|
||||
ipcns IPCNS T{
|
||||
Unique inode number describing the namespace the process belongs to. See namespaces(7).
|
||||
T}
|
||||
|
||||
label LABEL T{
|
||||
security label, most commonly used for SELinux context data. This is for
|
||||
the
|
||||
@@ -1327,6 +1331,14 @@ min_flt MINFLT T{
|
||||
The number of minor page faults that have occurred with this process.
|
||||
T}
|
||||
|
||||
mntns MNTNS T{
|
||||
Unique inode number describing the namespace the process belongs to. See namespaces(7).
|
||||
T}
|
||||
|
||||
netns NETNS T{
|
||||
Unique inode number describing the namespace the process belongs to. See namespaces(7).
|
||||
T}
|
||||
|
||||
ni NI T{
|
||||
nice value. This ranges from 19 (nicest) to \-20 (not nice to others),
|
||||
see
|
||||
@@ -1391,6 +1403,10 @@ a number representing the process ID (alias
|
||||
.BR tgid ).
|
||||
T}
|
||||
|
||||
pidns PIDNS T{
|
||||
Unique inode number describing the namespace the process belongs to. See namespaces(7).
|
||||
T}
|
||||
|
||||
pmem %MEM T{
|
||||
see
|
||||
.BR %mem .
|
||||
@@ -1715,6 +1731,14 @@ see
|
||||
.BR euser , \ uname ).
|
||||
T}
|
||||
|
||||
userns USERNS T{
|
||||
Unique inode number describing the namespace the process belongs to. See namespaces(7).
|
||||
T}
|
||||
|
||||
utsns UTSNS T{
|
||||
Unique inode number describing the namespace the process belongs to. See namespaces(7).
|
||||
T}
|
||||
|
||||
vsize VSZ T{
|
||||
see
|
||||
.BR vsz .
|
||||
|
||||
Reference in New Issue
Block a user