svn commit: r268925 - head/usr.bin/procstat
Robert Watson
rwatson at FreeBSD.org
Sun Jul 20 20:11:35 UTC 2014
Author: rwatson
Date: Sun Jul 20 20:11:34 2014
New Revision: 268925
URL: http://svnweb.freebsd.org/changeset/base/268925
Log:
In "procstat -v" (VM), spell out 'FL' to 'FLAG' since there are two extra
columns available anyway. Also left align as we tend to do for flags
fields, although you can't see that currently as the string fully fills
that available columns.
MFC after: 3 days
Sponsored by: DARPA, AFRL
Modified:
head/usr.bin/procstat/procstat.1
head/usr.bin/procstat/procstat_vm.c
Modified: head/usr.bin/procstat/procstat.1
==============================================================================
--- head/usr.bin/procstat/procstat.1 Sun Jul 20 20:05:39 2014 (r268924)
+++ head/usr.bin/procstat/procstat.1 Sun Jul 20 20:11:34 2014 (r268925)
@@ -445,7 +445,7 @@ private resident pages
reference count
.It SHD
shadow page count
-.It FL
+.It FLAG
mapping flags
.It TP
VM object type
Modified: head/usr.bin/procstat/procstat_vm.c
==============================================================================
--- head/usr.bin/procstat/procstat_vm.c Sun Jul 20 20:05:39 2014 (r268924)
+++ head/usr.bin/procstat/procstat_vm.c Sun Jul 20 20:11:34 2014 (r268925)
@@ -50,9 +50,9 @@ procstat_vm(struct procstat *procstat, s
ptrwidth = 2*sizeof(void *) + 2;
if (!hflag)
- printf("%5s %*s %*s %3s %4s %4s %3s %3s %4s %-2s %-s\n",
+ printf("%5s %*s %*s %3s %4s %4s %3s %3s %-4s %-2s %-s\n",
"PID", ptrwidth, "START", ptrwidth, "END", "PRT", "RES",
- "PRES", "REF", "SHD", "FL", "TP", "PATH");
+ "PRES", "REF", "SHD", "FLAG", "TP", "PATH");
freep = procstat_getvmmap(procstat, kipp, &cnt);
if (freep == NULL)
More information about the svn-src-head
mailing list