How about <a href="http://www.erlang.org/doc/man/sys.html#get_status-1">http://www.erlang.org/doc/man/sys.html#get_status-1</a> ?<br><br>If you are using OTP processes they will spit out most of their guts using this.<br><br>
I have used this in the field and it is info that makes you very informed and that is rarely a bad thing ;-)<br><br>Cheers,<br>Torben<br><br><div class="gmail_quote">On Sat, May 14, 2011 at 03:50, Scott Lystig Fritchie <span dir="ltr"><<a href="mailto:fritchie@snookles.com">fritchie@snookles.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">dzejefkej <<a href="mailto:dzejefkej@o2.pl">dzejefkej@o2.pl</a>> wrote:<br>
<br>
d> hi, I need to sniff state of the process.<br>
<br>
You can't. Well, you can cheat, using erlang:process_info/2. See<br>
<a href="http://www.erlang.org/doc/man/erlang.html#process_info-2" target="_blank">http://www.erlang.org/doc/man/erlang.html#process_info-2</a> for the docs.<br>
Perhaps the 'backtrace' option is closest to what you might be looking<br>
for?<br>
<br>
-Scott<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/torbenhoffmann">http://www.linkedin.com/in/torbenhoffmann</a><br>