[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, 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.

Related Information

The netstat command.

I/O Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]