Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erlang VM metrics and monitor #59

Closed
emqplus opened this issue Mar 5, 2015 · 3 comments
Closed

erlang VM metrics and monitor #59

emqplus opened this issue Mar 5, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@emqplus
Copy link
Contributor

emqplus commented Mar 5, 2015

Monitor Erlang VM:

CPU
Memory
Process
ETS
Ports

@emqplus emqplus added the Feature label Mar 5, 2015
@emqplus emqplus self-assigned this Mar 5, 2015
@emqplus emqplus modified the milestones: 0.4.0, 0.5.0 Mar 5, 2015
@emqplus emqplus modified the milestones: 0.6.4, 0.5.0 Apr 16, 2015
@emqplus emqplus modified the milestones: 0.8.0, 0.6.4 Apr 29, 2015
@emqplus emqplus assigned huangdan and unassigned emqplus Apr 29, 2015
@emqplus emqplus modified the milestones: 0.10.0, 0.8.0, 0.9.0 May 25, 2015
@huangdan
Copy link
Contributor

1、cpu metrics:
cpu_sup:avg1()、cpu_sup:avg5()、cpu_sup:avg15()、scheduler_usage/1
2、Memory metrics:
erlang:memory();
allocated: reports the memory that is reserved by the VM.
used、unused、usage

@huangdan
Copy link
Contributor

Process:
1、process list:
Pid、Name、reductions、memory、MsgQueue、currentFun;
2、process information:
[initial_call, current_function,registered_name,status,message_queue_len,group_leader,priority,trap_exit,reductions,binary,last_calls,catchlevel,trace,suspending,sequential_trace_token,error_handler]
3、memory and GC
[memory,total_heap_size,heap_size,stack_size,min_heap_size,fullsweep_after]

get_process_list/0;
get_process_info/0
get_process_gc/0
get_process_group_leader_info/1

@huangdan
Copy link
Contributor

huangdan commented Jun 1, 2015

ETS:
1、get_ets_list/0
ets:all().
2、get_ets_info/0
return: [{owner, Owner}|ets:info(Tab)]
3、get_ets_info(Tabname)
[{owner, Owner}|ets:info(Tabname)]
4、get_ets_object/0
ets:tab2list(AllTable)
5、get_ets_object/1
ets:tab2list(SingleTab)

@emqplus emqplus modified the milestones: 0.10.0, 0.9.0 Aug 18, 2015
@emqplus emqplus closed this as completed Aug 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants