在 Erlang 观察者中找不到主管和 gen_servers
我正在运行一个带有几个孩子的简单主管,我想使用 Erlang Observer 查看主管树结构的外观。我启动 Erlang shell,启动管理程序,然后从 shell 中调用observer:start(),我可以在“应用程序”选项卡中看到像树一样的进程结构。
不幸的是,我根本看不到我的主管(称为 animal_sup
)。然而,我可以在它显示的过程中看到它,如下所示
,但我也无法在“应用程序”选项卡中显示的树中看到此过程。我似乎无法弄清楚这个过程有何不同,以及如何在“应用程序”选项卡中找到我的主管。
I'm running a simple supervisor with a couple of children and I want to see how the supervisor tree structure looks using Erlang Observer. I start the Erlang shell, initiate the supervisor and then call observer:start()
from the shell where I can see this tree like processes structure in Applications tab.
Unfortunately, I cannot see my supervisor (called animal_sup
) in this at all. I can however see it in the processes where it shows like this
and it shows that the parent process of the process is <0.79.0>.
but I can't see this process in the tree shown in the Applications tab either. I can't seem to figure out how this process is different and how can I find my supervisor in the Applications tab.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论