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
This commit is contained in:
parent
05c9304f58
commit
587be2d8fe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268925
@ -445,7 +445,7 @@ private resident pages
|
|||||||
reference count
|
reference count
|
||||||
.It SHD
|
.It SHD
|
||||||
shadow page count
|
shadow page count
|
||||||
.It FL
|
.It FLAG
|
||||||
mapping flags
|
mapping flags
|
||||||
.It TP
|
.It TP
|
||||||
VM object type
|
VM object type
|
||||||
|
@ -50,9 +50,9 @@ procstat_vm(struct procstat *procstat, struct kinfo_proc *kipp)
|
|||||||
|
|
||||||
ptrwidth = 2*sizeof(void *) + 2;
|
ptrwidth = 2*sizeof(void *) + 2;
|
||||||
if (!hflag)
|
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",
|
"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);
|
freep = procstat_getvmmap(procstat, kipp, &cnt);
|
||||||
if (freep == NULL)
|
if (freep == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user