[erlang-questions] Graphical display of messages
Torben Hoffmann
torben.hoffmann@REDACTED
Tue Jan 13 16:34:03 CET 2015
Hi David,
For the "swim-lane" aka MSC view you can consider using the et application:
http://www.erlang.org/doc/man/et.html
The et_viewer can show a really nice MSC of what is going on.
I used it with QuickCheck to get an MSC of a failing test case as it was easier to
figure out what was going on that way.
Cheers,
Torben
David Welton writes:
> Hi,
>
> I'm wondering if something like this exists:
>
> I'd like to create various graphics to show the relationships between
> different processes and/or applications. I could see a couple of
> different displays:
>
> * The more messages go back and forth, the stronger a link is shown.
> I think graphviz probably has a way to generate this.
>
> * A "swim-lane" graphic that tracks who sent what when. Useful for
> getting an idea of how a system works. Not sure how to generate that
> one.
>
> I envision it working like so:
>
> 1) Gather a list of pids for an application.
>
> 2) Trace those pids send/receive operations, and write those to a file.
>
> 3) Process the file and generate the desired graph...
>
> Is there something like that out there already?
>
> This is pretty cool, and similar to what I'm interested in, but not
> exactly: https://www.youtube.com/watch?v=lHoWfeNuAN8 -
> https://github.com/krestenkrab/erlubi
>
> Thank you
--
Torben Hoffmann
CTO
Erlang Solutions Ltd.
Tel: +45 25 14 05 38
http://www.erlang-solutions.com
More information about the erlang-questions
mailing list