[Erlang危机](4.1)作业控制模式
来源:互联网 发布:最靠谱的赚钱网络平台 编辑:程序博客网 时间:2024/04/29 20:32
原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface联系邮箱:cto@188.com
Job Control Mode
作业控制模式
The Job Control Mode (JCL mode) is the menu you get when you press ˆG in the Erlang shell. From that menu, there is an option allowing you to connect to a remote shell:
作业控制模式(Job Control Mode,JCL)是在Erlang shell中按下Ctrl+G时出现在菜单。里面有一个选项允许你连接到一个远程节点上:--------------------------------------------------------------------------------------(somenode@ferdmbp.local)1>
User switch command
--> h
c [nn] - connect to job
i [nn] - interrupt job
k [nn] - kill job
j - list all jobs
s [shell] - start local shell
r [node [shell]] - start remote shell
q - quit erlang
? | h - this message
--> r ’server@ferdmbp.local’
--> c
Eshell Vx.x.x (abort with ^G)
(server@ferdmbp.local)1>
--------------------------------------------------------------------------------------
When that happens, the local shell runs all the line editing and job management locally, but the evaluation is actually done remotely. All output coming from said remote evaluation will be forwarded to the local shell.
To quit the shell, go back in the JCL mode with ˆG. This job management is, as I said, done locally, and it is thus safe to quit with ˆG q:
如果要退出本地的shell,需要用Ctrl+G回到JCL模式,然后输入q退出本地节点(这种操作是非常安全的,只会退出本地节点).
---------------------------------------------------------------
(server@ferdmbp.local)1>
User switch command
--> q
--------------------------------------------------------------------------------------
You may choose to start the initial shell in hidden mode (with the argument -hidden) to avoid connecting to an entire cluster automatically.
你可以使用hidden模式(使用参数:-hidden)启动一个shell,这种情况下该shell默认是对其他节点隐藏的,这样就可以防止此shell自动连接到整个集群上了。- [Erlang危机](4.1)作业控制模式
- [Erlang危机](3.4)习题
- [Erlang危机](4.2)Remsh
- [Erlang危机](2.0)创建erlang开源程序
- 多核危机:Scala vs. Erlang
- 多核危机:Scala vs Erlang
- [Erlang危机](1.3)OTP应用
- [Erlang危机](2.1)项目结构
- [Erlang危机](3.0)过载处理
- [Erlang危机](3.2)限制输入
- [Erlang危机](4.4)命名管道
- [Erlang危机](5.1.1)内存
- [Erlang危机](5.1.2)CPU
- [Erlang危机](5.1.3)进程
- [Erlang危机](1.1)如何深入代码
- [Erlang危机](1.4)OTP发布及习题
- [Erlang危机](3.1)常见过载情景
- [Erlang危机](3.3)丢弃数据上篇
- c语言gets()和scanf()函数的区别
- sourceInsight字体设置方法
- wcdma与LTE的区别
- PB工程中三个主要的.reg文件的区别!
- C#编写的串口调试助手
- [Erlang危机](4.1)作业控制模式
- codeforce D. Password
- 找工作笔试面试那些事儿(11)---数据库知识总结(2)范式
- 特殊的质数肋骨
- 我的第一篇文章,从计算机丢失igdusc32.dll开始
- 将Ext JS 5应用程序导入Web项目以及实现本地化
- conformal eco can not find tie cell in tie cell insertion
- MySQL系列:innodb源码分析之基础数据结构
- 第一天