在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}}