是什么会导致`net_adm`内核Erlang模块不可用? [英] What could cause the `net_adm` kernel Erlang module to be unavailable?

查看:138
本文介绍了是什么会导致`net_adm`内核Erlang模块不可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用

  • Nix软件包管理器
  • apt
  • 并从源代码编译

在具有Xmonad的 Ubuntu 18.04 在云中运行的Debian 9 上,但每次net_adm都无法通过Erlang Shell事件使用,尽管其他内核模块也可以使用

on Ubuntu 18.04 with Xmonad and Debian 9 running in the cloud, but every time, net_adm is not available through the Erlang shell event though other kernel modules are.

我认为这是由外部系统配置引起的,因为无法在线找到有关此的任何内容,因此人们不会抱怨它. (到目前为止仅找到一个人.)

I assume that this is caused by an external system configuration because couldn't find anything about this online, so people are not complaining about it. (Only found one person so far.)

推荐答案

羞愧地承认我是个白痴,但是net_adm一直在那儿……

Kind of ashamed to admit that I am an idiot, but net_adm was there all this time...

由于某种原因,它不会在erl外壳上自动完成,但是一旦以net_adm:开头(例如不存在的net_adm:ping())键入并执行它,它将开始识别该模块,并在按下Tab键时提供可用功能的列表.

For some reason, it wouldn't autocomplete on the erl shell, but once typed out starting with net_adm: (such as the non-existent net_adm:ping()), and executed it, it would start recognizing the module, and provide a list of available functions when hitting the Tab key.

这篇关于是什么会导致`net_adm`内核Erlang模块不可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆