[erlang-questions] how to access process heap from outside the process

Torben Hoffmann <>
Sat May 21 16:57:36 CEST 2011


How about http://www.erlang.org/doc/man/sys.html#get_status-1 ?

If you are using OTP processes they will spit out most of their guts using
this.

I have used this in the field and it is info that makes you very informed
and that is rarely a bad thing ;-)

Cheers,
Torben

On Sat, May 14, 2011 at 03:50, Scott Lystig Fritchie
<>wrote:

> dzejefkej <> wrote:
>
> d> hi, I need to sniff state of the process.
>
> You can't.  Well, you can cheat, using erlang:process_info/2.  See
> http://www.erlang.org/doc/man/erlang.html#process_info-2 for the docs.
> Perhaps the 'backtrace' option is closest to what you might be looking
> for?
>
> -Scott
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>



-- 
http://www.linkedin.com/in/torbenhoffmann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110521/cbea77de/attachment.html>


More information about the erlang-questions mailing list