[erlang-questions] scanning the process list every few seconds

Ulf Wiger <>
Sun Nov 2 10:18:28 CET 2008


2008/11/2 Joel Reymont <>:
>
> On Nov 2, 2008, at 8:33 AM, Ulf Wiger wrote:
>
>> I got the impression that Joel wants to keep track of dynamic
>> characteristics, such as heap size, message queue length, etc.,
>
> That's exactly what I'm after. How do people do this? How is this done on
> the big Ericsson projects?

Well, erlang:system_monitor() can help, if you tell it to monitor heap size,
since the message queue is on the heap. I also wish there'd be an option
to warn if there are too many messages in the queue.

I have an experimental version of plain_fsm that might help:

http://www.erlang.org/pipermail/erlang-questions/2008-June/035568.html

BR,
Ulf W



More information about the erlang-questions mailing list