Erlang VM: scheduler runtime information

I was looking for a way to get information about how scheduling is performed during program execution: what processes are in the scheduler, if they change, what process is active in each scheduler, if each scheduler works in one core, etc ...

Any ideas or related documents / articles / anything?

+5
source share
2 answers

I would advise you to take a look at the following tracing / profiling options:

erlang: system_profile / 2

It has parameters for monitoring the scheduler and executing the queue (runnable_procs). Scheduler option will inform

{profile, scheduler, Id, State, NoScheds, Ts}

State , . NoScheds ( ).

runnable_procs , .

+5

, DTrace, erlang dtrace, , .

, , , (± ..).

+4

All Articles