21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The netstat -m command<br />

The netstat -m command displays the statistics recorded by the mbuf<br />

memory-management routines. The most useful statistics in the output of the<br />

netstat -m command are the counters that show the requests for mbufs denied<br />

and non-zero values in the failed column. If the requests for mbufs denied is not<br />

displayed, then this must be an SMP system running <strong>AIX</strong> Version 4.3.2 or later;<br />

for performance reasons, global statistics are turned off by default. To enable the<br />

global statistics, set the no parameter extended_netstats to 1. This can be done<br />

by changing the /etc/rc.net file and rebooting the system.<br />

The following example shows the first part of the netstat -m output with<br />

extended_netstats set to 1:<br />

# netstat -m<br />

426 mbufs in use:<br />

384 mbuf cluster pages in use<br />

1642 Kbytes allocated to mbufs<br />

0 requests for mbufs denied<br />

0 calls to protocol drain routines<br />

0 sockets not created because sockthresh was reached<br />

Kernel malloc statistics:<br />

******* CPU 0 *******<br />

By size inuse calls failed delayed free hiwat freed<br />

32 92 187 0 0 36 1440 0<br />

64 33 57 0 0 31 720 0<br />

128 21 227 0 0 11 360 0<br />

256 13 1602 0 0 19 864 0<br />

512 30 125 0 0 2 90 0<br />

1024 12 129 0 0 4 225 0<br />

2048 1 3 0 0 1 225 0<br />

4096 1 7 0 0 3 270 0<br />

8192 2 43 0 0 1 22 0<br />

16384 0 0 0 0 40 54 0<br />

65536 1 1 0 0 0 2047 0<br />

******* CPU 1 *******<br />

By size inuse calls failed delayed free hiwat freed<br />

32 87 313 0 0 41 1440 0<br />

64 17 191 0 0 47 720 0<br />

128 17 311 0 0 15 360 0<br />

256 60 2497 0 0 20 864 0<br />

512 62 406 0 0 10 90 0<br />

1024 24 139 0 0 4 225 0<br />

2048 1 3 0 0 1 225 0<br />

268 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!