Job control mode (JCL), in which jobs can be started, stopped, detached or connected. Only the current job can communicate with the shell. 通过JCL,我们可以远程接入一个erlang node,来对其进行访问控制 erlang节点之间通信是需要有互信的,而互信是用cookie来完成,所以要对其他节点进行访问我们需要获得对方cookie 首先我们有一个这样的运…
etop是erlang进程信息查看工具,类似于UNIX的top. 一.配置参数 node The measured node. Value: atom() Mandatory setcookie Cookie to use for the etop node - must be the same as the cookie on the measured node. Value: atom() lines Number of lines (processes) to display. Value…
Erlang (/ˈɜrlæŋ/ er-lang) is a general-purpose concurrent, garbage-collected programming language and runtime system. The sequential subset of Erlang is a functional language, with strict evaluation, single assignment, and dynamic typing. It was desi…
今天需要实时查看目标结点上的相关信息,于是查阅了关于远程Shell使用的资料,最终采用JCL的方式与本机上的erlang结点交互.在使用erl shell时需要指定目标结点的cookie以及当前结点名,才能正确连接到目标结点.比如: erl -name Jack@127.0.0.1 -setcookie xxxxx 注意-name指定的long-name必须包含@,不然会报'Can't set long name, please check your configuration'的错误.然后Ct…
在window中调试的时候我们可以通过启动多个cmd窗口运行Erlang节点,在生产环境中我们需要Erlang服务在Centos服务器上后台运行;这就需要在启动的时候添加启动参数detached来脱离终端: -detached Starts the Erlang runtime system detached from the system console. Useful for running daemons and backgrounds processes. Implies -n…