|
|
For each data structure used, the important column is the fail
column shown by netstat -m.
If this is non-zero for the number of stream heads configured
(shown as the value in the row labeled streams
under
the config
column), increase the value of NSTREAM using
configure(ADM)
as described in
``Using configure to change kernel resources''
and
``STREAMS''.
The amount of memory currently in use by STREAMS, and the maximum amount used since the system was started are shown at the bottom of the output from netstat -m.
The figure for the total memory configured for use by STREAMS represents an upper limit to the amount of memory that can be dynamically allocated for use.
If there are several non-zero entries in the fail
column
and the amount of memory in use by STREAMS is almost the
same as the total amount of memory configured for STREAMS,
increase the value of NSTRPAGES.
This parameter controls the number of 4KB pages
of physical memory
that can be dynamically allocated for use by STREAMS.
The following table summarizes the commands that you can use to examine STREAMS usage:
Examining STREAMS performance
Command | Field | Description |
---|---|---|
netstat -m | fail | number of times a STREAMS resource was unavailable |