📄 strmshow.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/strmShow.html - generated by refgen from strmShow.c --> <title> strmShow </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual : Libraries</i></a></p></blockquote><h1>strmShow</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>strmShow</strong> - library for STREAMS debugging (STREAMS Option) </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./strmShow.html#strmDebugInit">strmDebugInit</a></i>( )</b> - include STREAMS debugging facility in VxWorks (STREAMS Option)<br><b><i><a href="./strmShow.html#strmOpenStreamsShow">strmOpenStreamsShow</a></i>( )</b> - display all open streams in the STREAMS subsystem (STREAMS Option)<br><b><i><a href="./strmShow.html#strmQueueShow">strmQueueShow</a></i>( )</b> - display all queues in a particular stream (STREAMS Option)<br><b><i><a href="./strmShow.html#strmBandShow">strmBandShow</a></i>( )</b> - display messages in a particular band (STREAMS Option)<br><b><i><a href="./strmShow.html#strmMessageShow">strmMessageShow</a></i>( )</b> - display information about all messages in a stream (STREAMS Option)<br><b><i><a href="./strmShow.html#strmQueueStatShow">strmQueueStatShow</a></i>( )</b> - display statistics about queues system-wide (STREAMS Option)<br><b><i><a href="./strmShow.html#strmMsgStatShow">strmMsgStatShow</a></i>( )</b> - display statistics about system-wide usage of message blocks (STREAMS Option)<br><b><i><a href="./strmShow.html#strmStatShow">strmStatShow</a></i>( )</b> - display statistics about streams (STREAMS Option)<br><b><i><a href="./strmShow.html#strmDriverModShow">strmDriverModShow</a></i>( )</b> - list configuration information for modules and devices (STREAMS Option)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library consists of routines to facilitate debugging of STREAMS drivers developed under VxWorks. This library provides informationabout streams, queues, and messages. It supports the provision of system-wide statistics, as well as information about specific streams and queues.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b><hr><a name="strmDebugInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strmDebugInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strmDebugInit</i>( )</strong> - include STREAMS debugging facility in VxWorks (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS strmDebugInit ()</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine includes the STREAMS debugging facility in VxWorks.It is called in <b>usrNetwork.c</b> to ensure the inclusion of this library into VxWorks. <p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b><hr><a name="strmOpenStreamsShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strmOpenStreamsShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strmOpenStreamsShow</i>( )</strong> - display all open streams in the STREAMS subsystem (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void strmOpenStreamsShow ( char * msg /* message to display */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays information about all open streams in the system. If <i>msg</i> is not NULL, it is displayed before theopen streams information. This routine displays the following information:address of the stream, flags, major number associated with the stream, andminor number associated with the stream<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b><hr><a name="strmQueueShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strmQueueShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strmQueueShow</i>( )</strong> - display all queues in a particular stream (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int strmQueueShow ( STHP sth, /* pointer to the Stream Head */ char * msg /* message to display */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays all queues on the stream <i>sth</i>.If <i>msg</i> is not NULL, it is displayed before the rest ofthe information.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b><hr><a name="strmBandShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strmBandShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strmBandShow</i>( )</strong> - display messages in a particular band (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void strmBandShow ( char * msg, /* user specified Message to display */ queue_t * q, /* queue pointer to display messages from */ int pri /* priority Band to display */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays information about all messages in a particularband. It displays the message type, band, and length.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b><hr><a name="strmMessageShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strmMessageShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strmMessageShow</i>( )</strong> - display information about all messages in a stream (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void strmMessageShow ( queue_t * q /* pointer to a queue in the stream */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays information about all messages in a stream.The information shown is the message type, band, and size, and the address of the message block.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b><hr><a name="strmQueueStatShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strmQueueStatShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strmQueueStatShow</i>( )</strong> - display statistics about queues system-wide (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void strmQueueStatShow ( void )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays statistics about the system-wide usage of queues. Thestatistics shown are:<ul><li> the number of queues allocated, </li><li> the number of queues in use, </li><li> the total number of queues configured, </li><li> the maximum number of queues that can be allocated, </li><li> the number of queue allocation failures.</ul><p></blockquote><h4>RETURNS</h4><blockquote><p><p> N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b><hr><a name="strmMsgStatShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strmMsgStatShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strmMsgStatShow</i>( )</strong> - display statistics about system-wide usage of message blocks (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void strmMsgStatShow ( void )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays statistics about the system-wide usage of STREAMS message blocks. The statistics shown are:<ul><li> the size of the message block, </li><li> the number of message blocks available for this size, </li><li> the number of message blocks of this size in use, </li><li> the total number of message blocks allocated for this size, </li><li> the total memory used by all the message blocks of this size, </li><li> the number of calls to <b><i>allocb</i>( )</b> that have failed for this message-block size,</li><li> the number of <b><i>bufcall</i>( )</b> requests pending due to <b><i>allocb</i>( )</b> failure for message blocks of this size. </ul><p><p>This routine also prints a brief summary of: <ul><li> the number of message blocks allocated for all sizes, </li><li> the number of data blocks allocated for all sizes, </li><li> the total memory used by STREAMS buffers system-wide. </ul><p><p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b><hr><a name="strmStatShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strmStatShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strmStatShow</i>( )</strong> - display statistics about streams (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void strmStatShow ( void )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays the following statistics about streams:<ul><li> the number of streams allocated, </li><li> the number of streams in use, </li><li> the total number of streams configured, </li><li> the maximum number of streams that can be configured, </li><li> the number of stream allocation failures.</ul><p></blockquote><h4>RETURNS</h4><blockquote><p><p> N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b><hr><a name="strmDriverModShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strmDriverModShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strmDriverModShow</i>( )</strong> - list configuration information for modules and devices (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void strmDriverModShow ( int format )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays configuration information about the STREAMS modules and devices. It displays the following information under the respective column heads.<dl><dt>Name<dd>name of the device<p><dt>Type<dd>STREAMS module or STREAMS device<p><dt>Major<dd>device major number, applicable only to devices<p><dt>idnum<dd>module ID number<p><dt>idname<dd>name as specified in the <b>module_info</b> structure<p><dt>minpsz<dd>minimum packet size allowed in the module or driver<p><dt>maxpsz<dd>maximum packet size allowed in the module or driver<p><dt>lowat<dd>low water mark<p><dt>hiwat<dd> high water mark<p></dl></blockquote><h4>RETURNS</h4><blockquote><p><p> N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strmShow.html#top">strmShow</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -