diff options
author | rwatson <rwatson@FreeBSD.org> | 2014-07-20 20:11:34 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2014-07-20 20:11:34 +0000 |
commit | 4f16edc0eea6d756d24b997c4455a37f54a64a0c (patch) | |
tree | bab8b1f8e90b8495f2c8dc7e9560b422c48df926 /usr.bin | |
parent | cf6d585d2d4625999a57ccac2e56fd507044eca7 (diff) | |
download | FreeBSD-src-4f16edc0eea6d756d24b997c4455a37f54a64a0c.zip FreeBSD-src-4f16edc0eea6d756d24b997c4455a37f54a64a0c.tar.gz |
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
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/procstat/procstat.1 | 2 | ||||
-rw-r--r-- | usr.bin/procstat/procstat_vm.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/procstat/procstat.1 b/usr.bin/procstat/procstat.1 index eb7a689..f33c746 100644 --- a/usr.bin/procstat/procstat.1 +++ b/usr.bin/procstat/procstat.1 @@ -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 diff --git a/usr.bin/procstat/procstat_vm.c b/usr.bin/procstat/procstat_vm.c index 80fe6a1..e4de492 100644 --- a/usr.bin/procstat/procstat_vm.c +++ b/usr.bin/procstat/procstat_vm.c @@ -50,9 +50,9 @@ procstat_vm(struct procstat *procstat, struct kinfo_proc *kipp) 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) |