Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2017 18:01:48 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r325821 - stable/11/bin/ps
Message-ID:  <201711141801.vAEI1mo3071531@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711141801.vAEI1mo3071531>