Subject: Re: small netstat changes
To: Tomas Svensson <email@example.com>
From: enami tsugutomo <firstname.lastname@example.org>
Date: 07/01/2002 16:07:09
Tomas Svensson <email@example.com> writes:
> I also think changing "141/512 mapped pages in use" (netstat -m) into
> "141/511/1024 mbuf clusters in use (current/peak/max)" would make more
> sense to most people.
Hm. And the number in use (141 in your case) no longer correct value,
since clusters are now got via pool cache instead of directly from the
pool. And it looks like there is no stat. variable to know how many
items are curretly in-use in struct pool_cache. Probably we need to
add some member like pc_nused in the structure.