Subject: Re: small netstat changes
To: Tomas Svensson <firstname.lastname@example.org>
From: enami tsugutomo <email@example.com>
Date: 07/01/2002 16:07:09
Tomas Svensson <firstname.lastname@example.org> 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.