📄 smmemshow.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/smMemShow.html - generated by refgen from smMemShow.c --> <title> smMemShow </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>smMemShow</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>smMemShow</strong> - shared memory management show routines (VxMP Option) </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./smMemShow.html#smMemShow">smMemShow</a></i>( )</b> - show the shared memory system partition blocks and statistics (VxMP Option)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides routines to show the statistics on a shared memorysystem partition.<p>General shared memory management routines are provided by smMemLib.<p></blockquote><h4>CONFIGURATION</h4><blockquote><p>The routines in this library are included by default if <b>INCLUDE_SM_OBJ</b> isdefined in <b>configAll.h</b>.<p></blockquote><h4>AVAILABILITY</h4><blockquote><p>This module is distributed as a component of the unbundled shared memoryobjects support option, VxMP.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>smLib.h</b>, <b>smObjLib.h</b>, <b>smMemLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./smMemShow.html#top">smMemShow</a></b>, <b><a href="./smMemLib.html#top">smMemLib</a></b>, <i>VxWorks Programmer's Guide: Shared Memory Objects</i><hr><a name="smMemShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>smMemShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>smMemShow</i>( )</strong> - show the shared memory system partition blocks and statistics (VxMP Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void smMemShow ( int type /* 0 = statistics, 1 = statistics & list */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays the total amount of free space in the shared memorysystem partition, including the number of blocks, the average block size,and the maximum block size. It also shows the number of blocks currentlyallocated, and the average allocated block size.<p>If <i>type</i> is 1, it displays a list of all the blocks in the free list ofthe shared memory system partition.<p></blockquote><h4>WARNING</h4><blockquote><p>This routine locks access to the shared memory system partition whiledisplaying the information. This can compromise the access time tothe partition from other CPUs in the system. Generally, this routine isused for debugging purposes only.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><pre> -> smMemShow 1 FREE LIST: num addr size --- ---------- ---------- 1 0x4ffef0 264 2 0x4fef18 1700 SUMMARY: status bytes blocks ave block max block --------------- --------- -------- ---------- ---------- current free 1964 2 982 1700 alloc 2356 1 2356 - cumulative alloc 2620 2 1310 - value = 0 = 0x0</pre></blockquote><h4>AVAILABILITY</h4><blockquote><p>This routine is distributed as a component of the unbundled shared memoryobjects support option, VxMP.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./smMemShow.html#top">smMemShow</a></b>, windsh, <i>Tornado User's Guide: Shell</i></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -