有没有Vxworks中常用的显示例程列表?
在 vxWorks shell 中,有许多例程可用于显示有关系统的信息。
这些例程通常称为show例程,因为它们往往具有“xxxShow”的形式。
有这些例程的列表吗?
In the vxWorks shell, there are a number of routines you can use to display information about the system.
These routines are usually referred to as show routines because they tend to have the form of "xxxShow".
Is there a list of these routines available?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我使用 VxWorks 5.5 并使用符号查找函数“lkup”来查找我可能感兴趣的函数和/或变量。
执行以下命令,其中“>” 是VxWorks shell 提示符。
这将输出名称中包含“Show”的符号列表,包括所有“Show”功能。 lkup 命令是交互式的,如果控制台屏幕上有多个符号,则会在继续之前提示您。
I work with VxWorks 5.5 and use the symbol lookup function "lkup" to find functions and/or variables that I may be interested in.
Execute the following command where ">" is the VxWorks shell prompt.
This will output a list of symbols that include the "Show" in their name, including all of the "Show" functions. The lkup command is interactive and will prompt you if there is more than one console screen worth of symbols before continuing.
没有所有可用表演例程的完整列表。 这取决于您的内核配置以及包含哪些组件。
以下是我过去发现有用的一些表演例程。
adrSpaceShow(details 0, 1) - 显示地址空间的详细信息,包括物理地址、用户区域地址和内核虚拟映射。
envShow(taskId) - 显示给定任务的环境
iosDevShow - 显示加载的 I/O 设备
iosDrvShow - 显示 I/O 设备驱动程序函数表
iosFdShow - 显示打开的文件描述符
memShow - 显示内存使用统计信息
moduleShow - 显示下载的模块
objShowAll - 显示系统中所有对象的列表(信号量、任务、消息队列等)
objShow (objectId) - 显示有关对象的详细信息
There is no comprehensive list of all the show routines available. This will depend on your kernel configuration and what components are included.
Here are a few show routines that I have found useful in the past.
adrSpaceShow(details 0, 1) - Show details of the Address Space, including physical address, User Region address and kernel virtual mapping.
envShow(taskId) - Show environment for a given task
iosDevShow - Show loaded I/O Devices
iosDrvShow - Show I/O Device Driver Function Table
iosFdShow - show open File Descriptors
memShow - show memory usage statistics
moduleShow - show downloaded modules
objShowAll - show the list of all the objects in the system (semaphores, tasks, msgQs, etc...)
objShow (objectId) - show detailed information about an object