Author: trasz
Date: Tue Nov 14 18:01:48 2017
New Revision: 325821
URL: https://svnweb.freebsd.org/changeset/base/325821

Log:
  MFC r324427:
  
  Document "tdnam" keyword to ps(1), and add "tdname" alias.
  
  MFC r324429:
  
  Fix long name (used by libxo) for the "tdnam" ps(1) keyword.
  
  MFC r324430:
  
  Undocument "tdnam" (leaving it as an alias), and rename the column
  to TDNAME.

Modified:
  stable/11/bin/ps/keyword.c
  stable/11/bin/ps/ps.1
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/bin/ps/keyword.c
==============================================================================
--- stable/11/bin/ps/keyword.c  Tue Nov 14 17:57:48 2017        (r325820)
+++ stable/11/bin/ps/keyword.c  Tue Nov 14 18:01:48 2017        (r325821)
@@ -199,7 +199,8 @@ static VAR var[] = {
        {"tdaddr", "TDADDR", NULL, "thread-address", 0, kvar, KOFF(ki_tdaddr),
            KPTR, "lx", 0},
        {"tdev", "TDEV", NULL, "terminal-device", 0, tdev, 0, CHAR, NULL, 0},
-       {"tdnam", "TDNAM", NULL, "terminal-device-name", LJUST, tdnam, 0, CHAR,
+       {"tdnam", "", "tdname", NULL, 0, NULL, 0, CHAR, NULL, 0},
+       {"tdname", "TDNAME", NULL, "thread-name", LJUST, tdnam, 0, CHAR,
            NULL, 0},
        {"time", "TIME", NULL, "cpu-time", USER, cputime, 0, CHAR, NULL, 0},
        {"tpgid", "TPGID", NULL, "terminal-process-gid", 0, kvar,

Modified: stable/11/bin/ps/ps.1
==============================================================================
--- stable/11/bin/ps/ps.1       Tue Nov 14 17:57:48 2017        (r325820)
+++ stable/11/bin/ps/ps.1       Tue Nov 14 18:01:48 2017        (r325821)
@@ -29,7 +29,7 @@
 .\"     @(#)ps.1       8.3 (Berkeley) 4/18/94
 .\" $FreeBSD$
 .\"
-.Dd September 7, 2017
+.Dd October 9, 2017
 .Dt PS 1
 .Os
 .Sh NAME
@@ -675,6 +675,8 @@ saved UID from a setuid executable
 accumulated system CPU time
 .It Cm tdaddr
 thread address
+.It Cm tdname
+thread name
 .It Cm tdev
 control terminal device number
 .It Cm time
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to