`
xumingyong
  • 浏览: 175778 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

ERLANG的OS_MON应用程序

阅读更多

在ERLANG在线手册中,凡是看到〔Application〕字样,均表示为ERLANG应用程序,其使用方法如下:

 

$ erl -boot start_sasl 

%% 在windows中,如果要修改werl的快捷方式,请输入:“c:\.....\werl.exe” -boot start_sasl.

 

1> appmon:start().

2> pman:start().

3> etop:start().

 

以上三个命令可任意选择一个,观察进程的实时状态。

 

4> application:start(os_mon).

5> m(memsup).

6> memsup:get_memory_data().

{1064026112,442261504,{<0.48.0>,131780}}

 

含义是:

{Total, Allocated, {Pid_of_largest_Allocated_in_Erlang, Largest_Allocated}}

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics