C interp: unknown symbol name 'inetstatShow'

梦想的初衷 提交于 2019-12-12 02:49:51

问题


I have some Vxworks embedded os and I want to check the netstat.

This is what I tried:

-> inetstatShow

And the output is:

C interp: unknown symbol name 'inetstatShow'.

How can I have netstat command in this?


回答1:


inetstatShow is provided by netShow library - you need to be sure that your OS configuration includes netShow, or you can dynamically load it using ld.

The lkup function can be used to list symbols that are available to the shell. Try lkup "Show" to list all symbols that include the sub-string "Show" for example.




回答2:


VxWorks supports netstat command.

-> netstat "-n -a" /* state of sockets */
-> netstat "-n -r" /* routing table */


来源:https://stackoverflow.com/questions/24094993/c-interp-unknown-symbol-name-inetstatshow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!