erlang remote node
2016-06-15 18:02
369 查看
$ ssh remote-host "epmd -names" epmd: up and running on port 4369 with data: name some_node at port 58769
Note the
running on portfor
epmditself and the port of the node you're interested in debugging. Reconnect to the remote host with these ports forwarded:
$ ssh -L 4369:localhost:4369 -L 58769:localhost:58769 remote-host
On your machine, start a hidden Erlang node running the
observerapp:
$ erl -name debug@127.0.0.1 -setcookie if-server-has-one -hidden -run observer
N.B.: If the server is using
-sname, you need to use
-snameas well, because Erlang™. You'll also need to change your system's hostname to match the target host, for the same reason.
In observer, go to Nodes - Connect Node and type
some_node@127.0.0.1.
You can also get a remote shell:
$ erl -name debug@127.0.0.1 -setcookie if-server-has-one -remsh some_node@127.0.0.1
相关文章推荐
- 测试框架:ava
- NodeJs使用asyncAwait两法
- 从node.js想到的
- node定时器详解
- node.js 安装cnpm nodemon express pm2 node-inspector
- nodejs websocket 把下面错误
- node.js npm 配置相关
- node-webkit 笔记
- Node && Express 学习日记(第一天)
- ccah-500 第39题 How must you format underlying file system of each DataNode
- ubuntu deepin安装node.js和npm
- NodeJS、NPM安装配置步骤(windows版本) 转
- node.js在windows下服务不成功
- Node.js中, 使用Q.ninvoke封装对象方法为promise
- ccah-500 第35题 What do you have to do on the cluster to allow the worker node to join
- ccah-500 第34题 you want to change a configuration parameter so that it affects all six DataNodes
- 19. Remove Nth Node From End of List
- crontab没有正确重定向导致磁盘inode节点空间满
- Swagger UI教程 API 文档神器 搭配Node使用 web api 接口文档 mvc接口文档
- ionic安装失败或者cordova安装失败解决方法