diff options
author | bmilekic <bmilekic@FreeBSD.org> | 2003-05-15 19:05:28 +0000 |
---|---|---|
committer | bmilekic <bmilekic@FreeBSD.org> | 2003-05-15 19:05:28 +0000 |
commit | f48bcc48de0a67fdb1915dde82d3e150840ac9c6 (patch) | |
tree | 38fc4f060cf169e0a53109d86e86a77189e1e251 /usr.bin | |
parent | 211414dc5e58705776a2a58363c1528176abedb4 (diff) | |
download | FreeBSD-src-f48bcc48de0a67fdb1915dde82d3e150840ac9c6.zip FreeBSD-src-f48bcc48de0a67fdb1915dde82d3e150840ac9c6.tar.gz |
Make the mb_alloc low-watermark sysctl-tunable read-only and make
netstat(1) not display it for now because its effects are not yet
completely implemented and we're about to cut 5.2-RELEASE.
This is temporary.
Approved by: re (scottl, rwatson)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/mbuf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c index 7c9b2b3..4da47cd 100644 --- a/usr.bin/netstat/mbuf.c +++ b/usr.bin/netstat/mbuf.c @@ -253,7 +253,9 @@ mbpr(u_long mbaddr, u_long mbtaddr __unused, u_long nmbcaddr, u_long nmbufaddr, totused[0] = totnum - totfree; printf("\tTotal:\t\t%lu/%lu (in use/in pool)\n", totused[0], totnum); printf("\tMbuf cache high watermark: %d\n", mbuf_hiwm); +#ifdef NOTYET printf("\tMbuf cache low watermark: %d\n", mbuf_lowm); +#endif printf("\tMaximum possible: %d\n", nmbufs); printf("\tAllocated mbuf types:\n"); for (mp = mbtypenames; mp->mt_name; mp++) { @@ -292,7 +294,9 @@ mbpr(u_long mbaddr, u_long mbtaddr __unused, u_long nmbcaddr, u_long nmbufaddr, totused[1] = totnum - totfree; printf("\tTotal:\t\t%lu/%lu (in use/in pool)\n", totused[1], totnum); printf("\tCluster cache high watermark: %d\n", clust_hiwm); +#ifdef NOTYET printf("\tCluster cache low watermark: %d\n", clust_lowm); +#endif printf("\tMaximum possible: %d\n", nmbclusters); printf("\t%lu%% of cluster map consumed\n", ((totspace[1] * 100) / (nmbclusters * MCLBYTES))); |