Document "tdnam" keyword to ps(1), and add "tdname" alias.

MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
This commit is contained in:
Edward Tomasz Napierala 2017-10-09 10:24:06 +00:00
parent 1dce7acd37
commit a8373a7c1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324427
2 changed files with 5 additions and 1 deletions

View File

@ -201,6 +201,7 @@ static VAR var[] = {
{"tdev", "TDEV", NULL, "terminal-device", 0, tdev, 0, CHAR, NULL, 0},
{"tdnam", "TDNAM", NULL, "terminal-device-name", LJUST, tdnam, 0, CHAR,
NULL, 0},
{"tdname", "", "tdnam", NULL, 0, NULL, 0, CHAR, NULL, 0},
{"time", "TIME", NULL, "cpu-time", USER, cputime, 0, CHAR, NULL, 0},
{"tpgid", "TPGID", NULL, "terminal-process-gid", 0, kvar,
KOFF(ki_tpgid), UINT, PIDFMT, 0},

View File

@ -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,9 @@ saved UID from a setuid executable
accumulated system CPU time
.It Cm tdaddr
thread address
.It Cm tdnam
thread name (alias
.Cm tdname )
.It Cm tdev
control terminal device number
.It Cm time