diff options
author | Cy Schubert <cy@FreeBSD.org> | 2020-01-13 06:55:38 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2020-01-13 06:55:38 +0000 |
commit | 5452c16c2138f6f68e7c447a80856a779e5eea6f (patch) | |
tree | c9d2bf19c08a20d0f27fdb1943d0894e179fc69f /usr.bin/systat | |
parent | a4b840be505a85101158271c5595f61b2475e079 (diff) | |
download | src-test2-5452c16c2138f6f68e7c447a80856a779e5eea6f.tar.gz src-test2-5452c16c2138f6f68e7c447a80856a779e5eea6f.zip |
Sync with r356645. desiredvnodes is now maxvnodes.
Notes
Notes:
svn path=/head/; revision=356678
Diffstat (limited to 'usr.bin/systat')
-rw-r--r-- | usr.bin/systat/vmstat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index 2d8e21e7c73c..f51d788e52b6 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -116,7 +116,7 @@ static struct Info { long nchcount; long *intrcnt; long bufspace; - u_long desiredvnodes; + u_long maxvnodes; long numvnodes; long freevnodes; int numdirtybuffers; @@ -349,7 +349,7 @@ labelkre(void) "| | | | | | | | | | |"); mvprintw(VNSTATROW, VNSTATCOL + 8, "dtbuf"); - mvprintw(VNSTATROW + 1, VNSTATCOL + 8, "desvn"); + mvprintw(VNSTATROW + 1, VNSTATCOL + 8, "maxvn"); mvprintw(VNSTATROW + 2, VNSTATCOL + 8, "numvn"); mvprintw(VNSTATROW + 3, VNSTATCOL + 8, "frevn"); @@ -520,7 +520,7 @@ showkre(void) break; } putint(s.numdirtybuffers, VNSTATROW, VNSTATCOL, 7); - putint(s.desiredvnodes, VNSTATROW + 1, VNSTATCOL, 7); + putint(s.maxvnodes, VNSTATROW + 1, VNSTATCOL, 7); putint(s.numvnodes, VNSTATROW + 2, VNSTATCOL, 7); putint(s.freevnodes, VNSTATROW + 3, VNSTATCOL, 7); putint(s.nchcount, NAMEIROW + 2, NAMEICOL, 8); @@ -780,7 +780,7 @@ getinfo(struct Info *ls) GETSYSCTL("vm.stats.vm.v_inactive_count", ls->v_inactive_count); GETSYSCTL("vm.stats.vm.v_laundry_count", ls->v_laundry_count); GETSYSCTL("vfs.bufspace", ls->bufspace); - GETSYSCTL("kern.maxvnodes", ls->desiredvnodes); + GETSYSCTL("kern.maxvnodes", ls->maxvnodes); GETSYSCTL("vfs.numvnodes", ls->numvnodes); GETSYSCTL("vfs.freevnodes", ls->freevnodes); GETSYSCTL("vfs.cache.nchstats", ls->nchstats); |