[erlang-questions] process stats

Jesse Gumm gumm@REDACTED
Fri Nov 2 23:50:55 CET 2012


Also, have a look at "entop". It's basically unix 'top' but for erlang and
shows running processes and their states. It's pretty simply extensible as
well.

https://github.com/mazenharake/entop

--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
On Nov 2, 2012 4:51 PM, "Joe Armstrong" <erlang@REDACTED> wrote:

> Take a look at the code in observer_backend.erl
> (${ERLROOT}/lib/runtime_tools/src)
> This is used by things like etop etc to collect performance data about
> processes
>
> /Joe
>
>
> On Fri, Nov 2, 2012 at 5:39 AM, József Bérces <jozsef.berces@REDACTED>wrote:
>
>> **
>> Hi,
>>
>> I am writing an application that runs in the background crunching some
>> data and writing result files to the disk. It has a web interface to
>> configure what data and how to process. And I was thinking about that it
>> would be good to be able to present some stats on the web interface about
>> which Erlang processes how much CPU resources used during the last
>> second/minute/day/week etc.
>>
>> Is there any way to get this kind of info somehow without wasting too
>> much resources on the stat collection itself? I do not want it for all
>> Erlang processes, only for a well defined subset of them.
>>
>> eprof/fprof seem to be too heavy: they would take too much system
>> resources and they would produce too detailed data for me.
>>
>> erlang:system_profile seems to be promising (I have not started playing
>> with it) but it has that note in the doc that it is experimental so I am a
>> bit afraid of it.
>>
>> I was also thinking about tracing my processes with the flag 'running' so
>> I would get 'in' and 'out' message tags in a profiling process. I am not
>> sure how much resources this would take.
>>
>> Any suggestions are welcome!
>>
>> Thanks,
>> Jozsef
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121102/efffe2d0/attachment.htm>


More information about the erlang-questions mailing list