- 浏览: 982256 次
- 性别:
- 来自: 广州
最新评论
-
qingchuwudi:
有用,非常感谢!
erlang进程的优先级 -
zfjdiamond:
你好 这条命令 在那里输入??
你们有yum 我有LuaRocks -
simsunny22:
这个是在linux下运行的吧,在window下怎么运行escr ...
escript的高级特性 -
mozhenghua:
http://www.erlang.org/doc/apps/ ...
mnesia 分布协调的几个细节 -
fxltsbl:
A new record of 108000 HTTP req ...
Haproxy 1.4-dev2: barrier of 100k HTTP req/s crossed
io:format("~s~n", [binary_to_list(erlang:info(info))]).
得到结果
=memory
total: 219521173
processes: 718806
processes_used: 713510
system: 218802367
atom: 347085
atom_used: 338851
binary: 13159
code: 2951013
ets: 182152
=hash_table:atom_tab
size: 6421
used: 4522
objs: 7848
depth: 6
=index_table:atom_tab
size: 8192
limit: 1048576
entries: 7848
=hash_table:module_code
size: 97
used: 73
objs: 114
depth: 4
=index_table:module_code
size: 1024
limit: 65536
entries: 114
=hash_table:export_list
size: 2411
used: 1874
objs: 3674
depth: 7
=index_table:export_list
size: 4096
limit: 65536
entries: 3674
=hash_table:secondary_export_table
size: 97
used: 0
objs: 0
depth: 0
=hash_table:process_reg
size: 23
used: 17
objs: 34
depth: 4
=hash_table:fun_table
size: 797
used: 436
objs: 658
depth: 5
=hash_table:node_table
size: 5
used: 1
objs: 1
depth: 1
=hash_table:dist_table
size: 5
used: 1
objs: 1
depth: 1
=allocated_areas
processes: 713510 718806
ets: 182152
sys_misc: 5330186
static: 209977344
atom_space: 98316 90370
binary: 13159
atom_table: 58533
module_table: 4568
export_table: 26112
register_table: 156
fun_table: 3250
module_refs: 1024
loaded_code: 2697335
dist_table: 147
node_table: 107
bits_bufs_size: 2
bif_timer: 40100
link_lh: 0
proc: 21156 17636
atom_entry: 190236 189948
export_entry: 177400 177112
module_entry: 4848 4608
reg_proc: 992 848
monitor_sh: 828 108
nlink_sh: 3896 2984
proc_list: 24 24
fun_entry: 37116 37004
db_tab: 3552 3376
driver_event_data_state: 24 24
driver_select_data_state: 188 60
=allocator:sys_alloc
option e: true
option m: libc
option tt: 131072
option tp: 0
=allocator:temp_alloc
versions: 0.9 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 90
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: af
mbcs blocks: 0 9 9
mbcs blocks size: 0 65544 65544
mbcs carriers: 1 1 1
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 131104 131104
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
temp_alloc calls: 14136
temp_free calls: 14136
temp_realloc calls: 46
mseg_alloc calls: 0
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:sl_alloc
versions: 2.1 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 80
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option mbsd: 3
option as: gf
mbcs blocks: 0 3 3
mbcs blocks size: 0 240 240
mbcs carriers: 1 1 1
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 131104 131104
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
sl_alloc calls: 37
sl_free calls: 37
sl_realloc calls: 0
mseg_alloc calls: 0
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:std_alloc
versions: 0.9 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 20
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: bf
mbcs blocks: 298 298 298
mbcs blocks size: 15480 15480 15480
mbcs carriers: 1 1 1
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 131104 131104
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
std_alloc calls: 349
std_free calls: 51
std_realloc calls: 3
mseg_alloc calls: 0
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:ll_alloc
versions: 0.9 2.1
option e: true
option sbct: 4294967295
option asbcst: 0
option rsbcst: 0
option rsbcmt: 0
option mmbcs: 2097152
option mmsbc: 0
option mmmbc: 0
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: aobf
mbcs blocks: 796 796 796
mbcs blocks size: 218837752 218837752 218837752
mbcs carriers: 4 4 4
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 4
mbcs carriers size: 219152416 219152416 219152416
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 219152416
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
ll_alloc calls: 804
ll_free calls: 8
ll_realloc calls: 284
mseg_alloc calls: 0
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 4
sys_free calls: 0
sys_realloc calls: 0
=allocator:eheap_alloc
versions: 2.1 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 50
option rsbcmt: 80
option mmbcs: 524288
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option mbsd: 3
option as: gf
mbcs blocks: 87 104 104
mbcs blocks size: 561896 942664 942664
mbcs carriers: 2 2 2
mbcs mseg carriers: 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 1572896 1572896 1572896
mbcs mseg carriers size: 1048576
mbcs sys_alloc carriers size: 524320
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
eheap_alloc calls: 5615
eheap_free calls: 5528
eheap_realloc calls: 1525
mseg_alloc calls: 4
mseg_dealloc calls: 3
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:binary_alloc
versions: 0.9 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 20
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: bf
mbcs blocks: 3 35 35
mbcs blocks size: 13176 621224 621224
mbcs carriers: 1 2 2
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 1179680 1179680
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
binary_alloc calls: 2514
binary_free calls: 2511
binary_realloc calls: 15
mseg_alloc calls: 17
mseg_dealloc calls: 17
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:ets_alloc
versions: 0.9 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 20
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: bf
mbcs blocks: 632 632 632
mbcs blocks size: 159016 159016 159016
mbcs carriers: 2 2 2
mbcs mseg carriers: 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 1179680 1179680 1179680
mbcs mseg carriers size: 1048576
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
ets_alloc calls: 4362
ets_free calls: 3730
ets_realloc calls: 298
mseg_alloc calls: 1
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:fix_alloc
option e: true
proc: 21156 17636
atom_entry: 190236 189948
export_entry: 177400 177112
module_entry: 4848 4608
reg_proc: 992 848
monitor_sh: 828 108
nlink_sh: 3896 2984
proc_list: 24 24
fun_entry: 37116 37004
db_tab: 3552 3376
driver_event_data_state: 24 24
driver_select_data_state: 188 60
=allocator:mseg_alloc
version: 0.9
option amcbf: 4194304
option rmcbf: 20
option mcs: 5
option cci: 1000
cached_segments: 0
cache_hits: 16
segments: 2
segments_watermark: 2
mseg_alloc calls: 22
mseg_dealloc calls: 20
mseg_realloc calls: 0
mseg_create calls: 6
mseg_destroy calls: 4
mseg_recreate calls: 0
mseg_clear_cache calls: 0
mseg_check_cache calls: 5
=allocator:alloc_util
option mmc: 1024
option ycs: 1048576
=allocator:instr
option m: false
option s: false
option t: false
ok
得到结果
=memory
total: 219521173
processes: 718806
processes_used: 713510
system: 218802367
atom: 347085
atom_used: 338851
binary: 13159
code: 2951013
ets: 182152
=hash_table:atom_tab
size: 6421
used: 4522
objs: 7848
depth: 6
=index_table:atom_tab
size: 8192
limit: 1048576
entries: 7848
=hash_table:module_code
size: 97
used: 73
objs: 114
depth: 4
=index_table:module_code
size: 1024
limit: 65536
entries: 114
=hash_table:export_list
size: 2411
used: 1874
objs: 3674
depth: 7
=index_table:export_list
size: 4096
limit: 65536
entries: 3674
=hash_table:secondary_export_table
size: 97
used: 0
objs: 0
depth: 0
=hash_table:process_reg
size: 23
used: 17
objs: 34
depth: 4
=hash_table:fun_table
size: 797
used: 436
objs: 658
depth: 5
=hash_table:node_table
size: 5
used: 1
objs: 1
depth: 1
=hash_table:dist_table
size: 5
used: 1
objs: 1
depth: 1
=allocated_areas
processes: 713510 718806
ets: 182152
sys_misc: 5330186
static: 209977344
atom_space: 98316 90370
binary: 13159
atom_table: 58533
module_table: 4568
export_table: 26112
register_table: 156
fun_table: 3250
module_refs: 1024
loaded_code: 2697335
dist_table: 147
node_table: 107
bits_bufs_size: 2
bif_timer: 40100
link_lh: 0
proc: 21156 17636
atom_entry: 190236 189948
export_entry: 177400 177112
module_entry: 4848 4608
reg_proc: 992 848
monitor_sh: 828 108
nlink_sh: 3896 2984
proc_list: 24 24
fun_entry: 37116 37004
db_tab: 3552 3376
driver_event_data_state: 24 24
driver_select_data_state: 188 60
=allocator:sys_alloc
option e: true
option m: libc
option tt: 131072
option tp: 0
=allocator:temp_alloc
versions: 0.9 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 90
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: af
mbcs blocks: 0 9 9
mbcs blocks size: 0 65544 65544
mbcs carriers: 1 1 1
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 131104 131104
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
temp_alloc calls: 14136
temp_free calls: 14136
temp_realloc calls: 46
mseg_alloc calls: 0
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:sl_alloc
versions: 2.1 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 80
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option mbsd: 3
option as: gf
mbcs blocks: 0 3 3
mbcs blocks size: 0 240 240
mbcs carriers: 1 1 1
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 131104 131104
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
sl_alloc calls: 37
sl_free calls: 37
sl_realloc calls: 0
mseg_alloc calls: 0
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:std_alloc
versions: 0.9 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 20
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: bf
mbcs blocks: 298 298 298
mbcs blocks size: 15480 15480 15480
mbcs carriers: 1 1 1
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 131104 131104
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
std_alloc calls: 349
std_free calls: 51
std_realloc calls: 3
mseg_alloc calls: 0
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:ll_alloc
versions: 0.9 2.1
option e: true
option sbct: 4294967295
option asbcst: 0
option rsbcst: 0
option rsbcmt: 0
option mmbcs: 2097152
option mmsbc: 0
option mmmbc: 0
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: aobf
mbcs blocks: 796 796 796
mbcs blocks size: 218837752 218837752 218837752
mbcs carriers: 4 4 4
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 4
mbcs carriers size: 219152416 219152416 219152416
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 219152416
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
ll_alloc calls: 804
ll_free calls: 8
ll_realloc calls: 284
mseg_alloc calls: 0
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 4
sys_free calls: 0
sys_realloc calls: 0
=allocator:eheap_alloc
versions: 2.1 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 50
option rsbcmt: 80
option mmbcs: 524288
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option mbsd: 3
option as: gf
mbcs blocks: 87 104 104
mbcs blocks size: 561896 942664 942664
mbcs carriers: 2 2 2
mbcs mseg carriers: 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 1572896 1572896 1572896
mbcs mseg carriers size: 1048576
mbcs sys_alloc carriers size: 524320
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
eheap_alloc calls: 5615
eheap_free calls: 5528
eheap_realloc calls: 1525
mseg_alloc calls: 4
mseg_dealloc calls: 3
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:binary_alloc
versions: 0.9 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 20
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: bf
mbcs blocks: 3 35 35
mbcs blocks size: 13176 621224 621224
mbcs carriers: 1 2 2
mbcs mseg carriers: 0
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 1179680 1179680
mbcs mseg carriers size: 0
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
binary_alloc calls: 2514
binary_free calls: 2511
binary_realloc calls: 15
mseg_alloc calls: 17
mseg_dealloc calls: 17
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:ets_alloc
versions: 0.9 2.1
option e: true
option sbct: 524288
option asbcst: 4145152
option rsbcst: 20
option rsbcmt: 80
option mmbcs: 131072
option mmsbc: 256
option mmmbc: 10
option lmbcs: 5242880
option smbcs: 1048576
option mbcgs: 10
option as: bf
mbcs blocks: 632 632 632
mbcs blocks size: 159016 159016 159016
mbcs carriers: 2 2 2
mbcs mseg carriers: 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 1179680 1179680 1179680
mbcs mseg carriers size: 1048576
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs mseg carriers: 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs mseg carriers size: 0
sbcs sys_alloc carriers size: 0
ets_alloc calls: 4362
ets_free calls: 3730
ets_realloc calls: 298
mseg_alloc calls: 1
mseg_dealloc calls: 0
mseg_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:fix_alloc
option e: true
proc: 21156 17636
atom_entry: 190236 189948
export_entry: 177400 177112
module_entry: 4848 4608
reg_proc: 992 848
monitor_sh: 828 108
nlink_sh: 3896 2984
proc_list: 24 24
fun_entry: 37116 37004
db_tab: 3552 3376
driver_event_data_state: 24 24
driver_select_data_state: 188 60
=allocator:mseg_alloc
version: 0.9
option amcbf: 4194304
option rmcbf: 20
option mcs: 5
option cci: 1000
cached_segments: 0
cache_hits: 16
segments: 2
segments_watermark: 2
mseg_alloc calls: 22
mseg_dealloc calls: 20
mseg_realloc calls: 0
mseg_create calls: 6
mseg_destroy calls: 4
mseg_recreate calls: 0
mseg_clear_cache calls: 0
mseg_check_cache calls: 5
=allocator:alloc_util
option mmc: 1024
option ycs: 1048576
=allocator:instr
option m: false
option s: false
option t: false
ok
评论
1 楼
wainwen
2007-10-18
mryufeng这么长时间持续关注Erlang,不容易
和Ruby的炙手可热相比,Erlang显得小众多了
一直关注Erlang,好几次都有一种冲动,想把公司的核心服务,改用Erlang实现
天生的并发、热部署、FP,都是Erlang的动人之处,也是现有服务最头疼的部分
和Ruby的炙手可热相比,Erlang显得小众多了
一直关注Erlang,好几次都有一种冲动,想把公司的核心服务,改用Erlang实现
天生的并发、热部署、FP,都是Erlang的动人之处,也是现有服务最头疼的部分
发表评论
-
OTP R14A今天发布了
2010-06-17 14:36 2677以下是这次发布的亮点,没有太大的性能改进, 主要是修理了很多B ... -
R14A实现了EEP31,添加了binary模块
2010-05-21 15:15 3030Erlang的binary数据结构非常强大,而且偏向底层,在作 ... -
如何查看节点的可用句柄数目和已用句柄数
2010-04-08 03:31 4814很多同学在使用erlang的过程中, 碰到了很奇怪的问题, 后 ... -
获取Erlang系统信息的代码片段
2010-04-06 21:49 3475从lib/megaco/src/tcp/megaco_tcp_ ... -
iolist跟list有什么区别?
2010-04-06 20:30 6529看到erlang-china.org上有个 ... -
erlang:send_after和erlang:start_timer的使用解释
2010-04-06 18:31 8386前段时间arksea 同学提出这个问题, 因为文档里面写的很不 ... -
Latest news from the Erlang/OTP team at Ericsson 2010
2010-04-05 19:23 2013参考Talk http://www.erlang-factor ... -
对try 异常 运行的疑问,为什么出现两种结果
2010-04-05 19:22 2842郎咸武<langxianzhe@163.com> ... -
Erlang ERTS Async基础设施
2010-03-19 00:03 2517其实Erts的Async做的很不错的, 相当的完备, 性能又高 ... -
CloudI 0.0.9 Released, A Cloud as an Interface
2010-03-09 22:32 2476基于Erlang的云平台 看了下代码 质量还是不错的 完成了不 ... -
Memory matters - even in Erlang (再次说明了了解内存如何工作的必要性)
2010-03-09 20:26 3439原文地址:http://www.lshift.net/blog ... -
Some simple examples of using Erlang’s XPath implementation
2010-03-08 23:30 2050原文地址 http://www.lshift.net/blog ... -
lcnt 环境搭建
2010-02-26 16:19 2614抄书:otp_doc_html_R13B04/lib/tool ... -
Erlang强大的代码重构工具 tidier
2010-02-25 16:22 2486Jan 29, 2010 We are very happy ... -
[Feb 24 2010] Erlang/OTP R13B04 has been released
2010-02-25 00:31 1387Erlang/OTP R13B04 has been rele ... -
R13B04 Installation
2010-01-28 10:28 1390R13B04后erlang的源码编译为了考虑移植性,就改变了编 ... -
Running tests
2010-01-19 14:51 1486R13B03以后 OTP的模块加入了大量的测试模块,这些模块都 ... -
R13B04在细化Binary heap
2010-01-14 15:11 1508从github otp的更新日志可以清楚的看到otp R13B ... -
R13B03 binary vheap有助减少binary内存压力
2009-11-29 16:07 1668R13B03 binary vheap有助减少binary内存 ... -
erl_nif 扩展erlang的另外一种方法
2009-11-26 01:02 3218我们知道扩展erl有2种方法, driver和port. 这2 ...
相关推荐
1. **top 命令**:实时显示系统总体的CPU和内存使用情况,包括各个进程的资源消耗。 2. **htop**:top命令的增强版,提供彩色界面和树状视图,更容易查看进程间的依赖关系。 3. **vmstat**:报告虚拟内存统计信息...
ERTS运行期内存使用情况查看 - **ERTS**: Erlang运行时系统,负责Erlang程序的执行。 - **工具**: 使用`erl`启动器时带上`-s`参数启动特定的应用或模块来查看内存使用情况。 - **指标**: - **Total**: 总内存使用...
Erlang核心开发者Lukas Larsson在2014年3月份Erlang Factory上的一个演讲详细介绍了Erlang内存体系的原理以及调优案例 根据siyao zheng博客上听写的资源进行的翻译,大致只翻译了80%但核心部分已经完整,希望对大家...
在Erlang内存管理的背景下,有几个重要的概念需要理解: 1. 堆和栈: Erlang中的每个进程都有自己的内存堆和栈。堆用于存储动态分配的对象,比如元组、列表、字典等;而栈用于存储过程调用和本地变量。 2. ...
Erlang的内存泄漏通常是指内存使用随时间不断增加,但相应的垃圾回收(GC)却没有释放这部分内存。Erlang虚拟机(BEAM)在运行时会监控内存的使用情况。如果发现内存使用不断上升,那么很有可能出现了内存泄漏。 ...
"java.png"可能展示了Java在处理大规模数据时的内存使用情况。 PHP,一种广泛用于Web开发的脚本语言,"php_array_test.php"可能是用于测试PHP处理大型数组的性能。尽管PHP在内存管理和性能上可能不如Java或Erlang,...
标题中的“在erlang项目中使用protobuf例子”指的是在Erlang编程环境中使用Protocol Buffers(protobuf)这一数据序列化工具。protobuf是由Google开发的一种高效、跨语言的数据表示和序列化格式,它允许开发者定义...
它负责解释Erlang字节码,提供内存管理、垃圾回收和并发调度等功能。 ### 10. 语言特性 Erlang的语法简洁,支持模式匹配、函数式编程、列表处理和递归等特性。它的动态类型系统和强大的类型推断让代码更加灵活。 ...
了解ERTS内存使用情况对于优化Erlang程序至关重要。 #### 8. 高可用性和故障恢复 Erlang的heart进程是系统监视器,它负责监测和恢复Erlang节点的故障。这个机制是Erlang高可用性的基础。 #### 9. 新增特性和更新 *...
##### 3.1 Erlang的erts运行期内存使用情况查看 ERTS是Erlang运行时系统,了解ERTS在运行期内存使用情况是优化Erlang应用的关键。这包括了解ETS(Erlang Term Storage)和Dets(Disk ETS)的使用,以及如何监控和...
2. **性能提升**:新版本通常会针对CPU使用率、内存管理或垃圾回收进行优化,从而提供更好的运行时性能。 3. **错误修复**:Erlang22.1可能会包含一系列错误修复,确保代码的稳定性和可靠性。 4. **库和工具的更新**...
在没有网络连接的情况下,离线安装Erlang可能会遇到一些挑战,但通过使用提供的压缩包,我们可以遵循以下步骤进行安装。 首先,我们需要了解Erlang的基本结构和依赖。Erlang的安装通常包括运行时系统(erts)和各种...
在IT行业中,Erlang因其强大的实时性、并发性和内存管理机制而被广泛应用于网络通信、数据库系统以及消息中间件,如RabbitMQ。 RabbitMQ是一款基于AMQP(Advanced Message Queuing Protocol)协议的开源消息队列...
- **系统信息**:ERTS提供了丰富的运行时信息,包括CPU使用率、内存使用情况、GC活动等。 - **监控机制**:ERTS支持对进程、端口等进行监控,并且可以通过各种方式获取这些信息,比如通过命令行工具。 #### 代码热...
确保正确配置Erlang环境变量,以便RabbitMQ能正确识别和使用Erlang运行时系统。安装完成后,可以使用RabbitMQ的管理界面或命令行工具进行配置和管理,以满足特定的业务需求。 总的来说,RabbitMQ 3.9.13与Erlang ...
8. 性能优化:OTP提供了多种工具来监控和优化Erlang应用的性能,如instrument模块可以收集运行时统计信息,erlang:system_info/1函数可以获取系统详细信息,而erlang:memory/0则用于查看内存使用情况。 9. 高可用性...
安装完"otp_win64_23.2.exe"后,用户可以使用Erlang的REPL(Read-Eval-Print Loop)进行交互式编程,或者使用像Rebar3或Hex这样的构建工具来管理项目和依赖。同时,Erlang社区还提供了一系列框架,如 Cowboy(Web...
- **内存管理**:Erlang VM负责内存的分配和回收,但NIF代码需要遵循特定的规则来操作Erlang术语,如使用`enif_alloc`分配内存,然后用`enif_free`释放。 - **错误传播**:Erlang的错误处理机制与C不同,所以要确保...
- **性能提升**: 每个版本的Erlang都会在性能方面进行优化,21.3版本可能包括更快的垃圾回收、更高效的内存管理等。 - **新功能**: 新的库或者API可能会被添加,提供更丰富的编程接口。 - **安全修复**: 修复已知的...
6. **热更新**:Erlang支持运行时代码更新,可以在不中断服务的情况下修复bug或添加新功能,这对于在线服务尤其重要。 7. **并发与分布式**:Erlang的VM(Virtual Machine)允许在多核甚至多机器上并行运行,轻松...