Is that a typo in the docs? Should be message_queue_len. <span></span><br><br>On Monday, April 22, 2013, Bryan Hughes wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Howdy,<br>
<br>
I am having some weirdness. Running on the latest build of R16B
(erts-5.10.1). Per the documentation
(<a href="http://erlang.org/doc/man/erlang.html#process_info-2" target="_blank">http://erlang.org/doc/man/erlang.html#process_info-2</a>),<br>
when I call it:<br>
<br>
Info = erlang:process_info(self(), [memory, heap_size,
message_que_len]),<br>
<br>
I get the following error:<br>
<br>
* Reason for termination ==<br>
** {badarg,[{erlang,process_info,<br>
[<0.127.0>,[memory,heap_size,message_que_len]],<br>
[]},<br>
<br>
When I call it without message_que_len, or instead use messages:<br>
<br>
Info = erlang:process_info(self(), [memory, heap_size, messages]),<br>
<br>
Life is good. According to the docs, message_que_len is a valid
process_info_item(). Is the documentation wrong, or am I doing
something wrong?<br>
<br>
Note that this also happens in the shell.<br>
<br>
Thanks again!<br>
<br>
Cheers,<br>
Bryan<br>
<br>
<div>-- <br>
<p style="font-size:12px">
Bryan Hughes<br>
<b>Go Factory</b><br>
<a href="http://www.go-factory.net" target="_blank">http://www.go-factory.net</a><br>
<br>
<i>"Art is never finished, only abandoned. - Leonardo da Vinci"</i><br>
</p>
<p><br>
</p>
</div>
</div>
</blockquote>