<div dir="ltr">Thanks a lot<div>The PROCESS of most consumers is fixed with memsup. The memsup:get_memory_data/0 method only get number of allocated bytes of the largest Erlang Process on the node. It canot get the next Process,That is a pity.</div>
<div>The entop is very good tool. The entop is modified in the FreeBSD.To replace #!/bin/bash with #!/usr/bin/env sh.</div><div><br></div><div><br></div><div>Jason</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/12/17 Anthony Molinaro <span dir="ltr"><<a href="mailto:anthonym@alumni.caltech.edu" target="_blank">anthonym@alumni.caltech.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, you might consider<br>
<br>
<a href="https://github.com/mazenharake/entop" target="_blank">https://github.com/mazenharake/entop</a><br>
<br>
it does a really good job and doesn't have the formatting issues that I've had<br>
with etop.<br>
<br>
-Anthony<br>
<div><div class="h5"><br>
On Mon, Dec 16, 2013 at 11:26:18AM +0100, Jesper Louis Andersen wrote:<br>
> On Mon, Dec 16, 2013 at 10:33 AM, ????????? <<a href="mailto:langxianzhe@gmail.com">langxianzhe@gmail.com</a>> wrote:<br>
><br>
> > In recently days, i found our server consume a lot of memory. For example,<br>
> > I only type erl command in the shell. It is about to consume 4G memory. I<br>
> > try to monitor with etop toos. Then i met a new question which the Memory<br>
> > column display some stars[1].<br>
><br>
><br>
> It is the formatting code which notes it cannot represent the size of the<br>
> number. Usually because the call to io_lib:format specifies a given number,<br>
> N, of characters and the numbers representation is too big to fit into N<br>
> characters.<br>
><br>
> Good libraries/tricks for hunting these kinds of problems:<br>
><br>
> * install an alarm_handler and run mem_sup. Report stuff about the Pid<br>
> using too much memory.<br>
> * Use Fred Hebert's `recon` library (ferd/recon on Github).<br>
<br>
</div></div>> _______________________________________________<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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
------------------------------------------------------------------------<br>
Anthony Molinaro <<a href="mailto:anthonym@alumni.caltech.edu">anthonym@alumni.caltech.edu</a>><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>只为成功找方法,不为失败找理由
</div>