Print statistics on mbuf+clusters in packet zone.

Sponsored by:	TCP/IP Optimization Fundraise 2005
MFC after:	3 days
This commit is contained in:
Andre Oppermann 2006-02-18 16:03:07 +00:00
parent af2cde52b3
commit 1434cbd62a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155811

View File

@ -203,6 +203,10 @@ mbpr(void *kvmd, u_long mbaddr)
cluster_count - packet_free, cluster_free + packet_free,
cluster_count + cluster_free, cluster_limit);
printf("%llu/%llu mbuf+clusters of packet zone in use "
"(current/cache)\n",
packet_count, packet_free);
printf("%llu/%llu/%llu/%llu %lluk (page size) jumbo clusters in use "
"(current/cache/total/max)\n",
jumbop_count, jumbop_free, jumbop_count + jumbop_free,