]> granicus.if.org Git - psmisc/commitdiff
misc: Add notes for time namespace
authorCraig Small <csmall@dropbear.xyz>
Tue, 1 Dec 2020 09:25:22 +0000 (20:25 +1100)
committerCraig Small <csmall@dropbear.xyz>
Tue, 1 Dec 2020 09:25:22 +0000 (20:25 +1100)
Add Changelog entry, man page and help for time namespace.

References:
 commit 64d29380d249a64ca7b995de77f450ac37646ff4
 psmisc/psmisc!25

ChangeLog
doc/pstree.1
src/pstree.c

index 110afab91efd7d9e9e753fb6d9c4cd621cf1813f..44f28be5ac4f4fe9729781ceb9b91eed5219aa0f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@ Changes in NEXT
 ===============
        * pstree: Do not crash on missing processes !21
        * pstree: fix layout when using -C !24
+       * pstree: add time namespace !25
        * fuser: Get less confused about duplicate dev_id !10
        * fuser: Only check pathname on non-block devices !31
 
index 82197f3237518565e269063e027c5bd687f198f0..c1d5adf3d1bc780b9c9ef685a9c5db818c63a24d 100644 (file)
@@ -133,7 +133,9 @@ Sort processes with the same parent by PID instead of by name.
 (Numeric sort.)
 .IP \fB\-N\fP
 Show individual trees for each namespace of the type specified.  The
-available types are: ipc, mnt, net, pid, user, uts.  Regular users don't
+available types are:
+.IR ipc ", " mnt ", " net ", " pid ", " time ", " user ", " uts .
+Regular users don't
 have access to other users' processes information, so the output will be
 limited.
 .IP \fB\-p\fP
index 4ac05adcbdeed0c0218271bdbde51cd32c9232dc..ad31a927317fd0b2d37cf8596716a49c21b5705e 100644 (file)
@@ -1209,7 +1209,7 @@ static void usage(void)
              "  -n, --numeric-sort  sort output by PID\n"
              "  -N TYPE, --ns-sort=TYPE\n"
              "                      sort output by this namespace type\n"
-             "                              (cgroup, ipc, mnt, net, pid, user, uts)\n"
+             "                              (cgroup, ipc, mnt, net, pid, time, user, uts)\n"
              "  -p, --show-pids     show PIDs; implies -c\n"));
     fprintf(stderr, _(
              "  -s, --show-parents  show parents of the selected process\n"