Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2015 18:43:25 +0330
From:      Hooman Fazaeli <hoomanfazaeli@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   mbuf statistics
Message-ID:  <56532D15.2070703@gmail.com>

next in thread | raw e-mail | index | archive | help

Hi,

On a freebsd 9.3 system:

 > vmstat -z | egrep "mbuf_cluster|ITEM" | column -t
ITEM           SIZE   LIMIT   USED   FREE  REQ    FAIL  SLEEP
mbuf_cluster:  2048,  10284,  1152,  56,   4237,  0,    0

 > netstat -mb | grep "mbuf clusters in use"
512/696/1208/10284 mbuf clusters in use (current/cache/total/max)

one can see that:

current + cache == total == USED + FREE

but the current/cache values as reported by netstat
are very different form USED/FREE values reported by vmstat, so
they should have different meaning.

Ny question is: what us the exact meaning of USED/FREE and
current/cache values? Is there any relationship between them?

-- 
Best regards
Hooman Fazaeli




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56532D15.2070703>