Contains mbuf usage statistics.
#include <sys/mbuf.h>
struct mbstat {
ulong m_mbufs;
ulong m_clusters;
ulong m_spare;
ulong m_clfree;
ulong m_drops;
ulong m_wait;
ulong m_drain;
short m_mtypes[256];
}
Item | Description |
---|---|
m_mbufs | Specifies the number of mbuf structures allocated. |
m_clusters | Specifies the number of clusters allocated. |
m_spare | Specifies the spare field. |
m_clfree | Specifies the number of free clusters. |
m_drops | Specifies the times failed to find space. |
m_wait | Specifies the times waited for space. |
m_drain | Specifies the times drained protocols for space. |
m_mtypes | Specifies the type-specific mbuf structure allocations. |
The mbstat structure provides usage information for the mbuf services. Statistics can be viewed through the netstat -m command.