Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2018 16:12:30 +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: r332594 - stable/11/bin/ps
Message-ID:  <201804161612.w3GGCUCq093225@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Mon Apr 16 16:12:30 2018
New Revision: 332594
URL: https://svnweb.freebsd.org/changeset/base/332594

Log:
  MFC r326430:
  
  Add "vmaddr" ps(1) keyword.

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	Mon Apr 16 16:10:16 2018	(r332593)
+++ stable/11/bin/ps/keyword.c	Mon Apr 16 16:12:30 2018	(r332594)
@@ -225,6 +225,8 @@ static VAR var[] = {
 	{"usertime", "USERTIME", NULL, "user-time", USER, usertime, 0, CHAR,
 	    NULL, 0},
 	{"usrpri", "", "upr", NULL, 0, NULL, 0, CHAR, NULL, 0},
+	{"vmaddr", "VMADDR", NULL, "vmspace-address", 0, kvar, KOFF(ki_vmspace),
+	    KPTR, "lx", 0},
 	{"vsize", "", "vsz", NULL, 0, NULL, 0, CHAR, NULL, 0},
 	{"vsz", "VSZ", NULL, "virtual-size", 0, vsize, 0, CHAR, NULL, 0},
 	{"wchan", "WCHAN", NULL, "wait-channel", LJUST, wchan, 0, CHAR, NULL,

Modified: stable/11/bin/ps/ps.1
==============================================================================
--- stable/11/bin/ps/ps.1	Mon Apr 16 16:10:16 2018	(r332593)
+++ stable/11/bin/ps/ps.1	Mon Apr 16 16:12:30 2018	(r332594)
@@ -708,6 +708,8 @@ process pointer
 user name (from UID)
 .It Cm usertime
 accumulated user CPU time
+.It Cm vmaddr
+vmspace pointer
 .It Cm vsz
 virtual size in Kbytes (alias
 .Cm vsize )



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