📄 smobjshow.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/smObjShow.html - generated by refgen from smObjShow.c --> <title> smObjShow </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>smObjShow</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>smObjShow</strong> - shared memory objects show routines (VxMP Option) </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./smObjShow.html#smObjShow">smObjShow</a></i>( )</b> - display the current status of shared memory objects (VxMP Option)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides routines to show shared memory objectstatistics, such as the current number of shared tasks, semaphores,message queues, etc.<p></blockquote><h4>CONFIGURATION</h4><blockquote><p>The routines in this library are included by default if<b>INCLUDE_SM_OBJ</b> is defined 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>smObjLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./smObjShow.html#top">smObjShow</a></b>, <b><a href="./smObjLib.html#top">smObjLib</a></b>, <i>VxWorks Programmer's Guide: Shared Memory Objects</i><hr><a name="smObjShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>smObjShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>smObjShow</i>( )</strong> - display the current status of shared memory objects (VxMP Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS smObjShow ()</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays useful information about the current status ofshared memory objects facilities.<p></blockquote><h4>WARNING</h4><blockquote><p>The information returned by this routine is not static and may be obsoleteby the time it is examined. This information is generally used fordebugging purposes only.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><p><pre> -> smObjShow Shared Mem Anchor Local Addr: 0x600. Shared Mem Hdr Local Addr: 0xb1514. Attached CPU : 5 Max Tries to Take Lock: 1 Shared Object Type Current Maximum Available -------------------- ---------- --------- ---------- Tasks 1 20 19 Binary Semaphores 8 30 20 Counting Semaphores 2 30 20 Messages Queues 3 10 7 Memory Partitions 1 4 3 Names in Database 16 100 84</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>OK, or ERROR if no shared memory objects are initialized.<p></blockquote><h4>ERRNO</h4><blockquote><p><p> S_smObjLib_NOT_INITIALIZED<br> S_smLib_NOT_ATTACHED<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./smObjShow.html#top">smObjShow</a></b>, <b><a href="./smObjLib.html#top">smObjLib</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -