[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

mbstat Structure for mbuf Kernel Services

Purpose

Contains mbuf usage statistics.

Syntax

#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];
}

Parameters

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.

Description

The mbstat structure provides usage information for the mbuf services. Statistics can be viewed through the netstat -m command.

Implementation Specifics

The mbstat structure is part of Base Operating System (BOS) Runtime.

Related Information

The netstat command.

I/O Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]