]> granicus.if.org Git - procps-ng/commitdiff
doc: bring the namespaces up to date with linux kernel
authorJim Warner <james.warner@comcast.net>
Thu, 5 May 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Mon, 9 May 2022 08:44:21 +0000 (18:44 +1000)
Signed-off-by: Jim Warner <james.warner@comcast.net>
doc/procps_misc.3
ps/ps.1
top/top.1

index e650fa7895b85de2d27cd5b93680ae0df2217098..ad3629e4ba309969ccde74aa09c27caa69aa9972 100644 (file)
@@ -120,10 +120,12 @@ Those inodes will appear in the order proscribed by enum namespace_type.
 .RS 4
 .nf
 enum namespace_type {
+    PROCPS_NS_CGROUP,
     PROCPS_NS_IPC,
     PROCPS_NS_MNT,
     PROCPS_NS_NET,
     PROCPS_NS_PID,
+    PROCPS_NS_TIME,
     PROCPS_NS_USER,
     PROCPS_NS_UTS
 };
diff --git a/ps/ps.1 b/ps/ps.1
index 7c7aff46c01d7bc67e7526169fe0cdb4f35f7a6e..3031191abd239874f6377fed9dd0eb4031ff2f3e 100644 (file)
--- a/ps/ps.1
+++ b/ps/ps.1
@@ -1105,6 +1105,12 @@ cgroup   CGROUP  T{
 display control groups to which the process belongs.
 T}
 
+cgroupns       CGROUPNS        T{
+Unique inode number describing the namespace the process belongs to.
+See
+.IR namespaces (7).
+T}
+
 class  CLS     T{
 scheduling class of the process.  (alias
 .BR policy , \ cls ).
@@ -1814,6 +1820,12 @@ cumulative CPU\ time, "[DD\-]HH:MM:SS" format.  (alias
 .BR cputime ).
 T}
 
+timens TIMENS  T{
+Unique inode number describing the namespace the process belongs to.
+See
+.IR namespaces (7).
+T}
+
 times  TIME    T{
 cumulative CPU\ time in seconds (alias
 .BR cputimes ).
index aff124b26094a25f4cb81484e3915dc10f3f6d56..e88d6209cbee95c2fe8bfd7b4bcf42a8eb7b9baa 100644 (file)
--- a/top/top.1
+++ b/top/top.1
@@ -1158,6 +1158,11 @@ page available.
 \fBnTH \*(Em Number of Threads \fR
 The number of threads associated with a process.
 
+.TP 4
+\fBnsCGROUP \*(Em CGROUP namespace \fR
+The Inode of the namespace used to hide the identity of the control group of
+which process is a member.
+
 .TP 4
 \fBnsIPC \*(Em IPC namespace \fR
 The Inode of the namespace used to isolate interprocess communication (IPC)
@@ -1180,6 +1185,11 @@ meaning they need not remain unique.
 Thus, each such namespace could have its own `init/systemd' (PID #1) to
 manage various initialization tasks and reap orphaned child processes.
 
+.TP 4
+\fBnsTIME \*(Em TIME namespace \fR
+The Inode of the namespace which allows processes to see different system
+times in a way similar to the UTS namespace.
+
 .TP 4
 \fBnsUSER \*(Em USER namespace \fR
 The Inode of the namespace used to isolate the user and group ID numbers.