[erlang-questions] clarify:

Bengt Kleberg bengt.kleberg@REDACTED
Tue Dec 8 11:03:51 CET 2015


Thank you, that solved it.


On 12/08/2015 11:02 AM, Vlad Dumitrescu wrote:
> Hi Bengt,
>
> I suppose the easiest suggestion is to use ~w instead of ~p?
>
> regards,
> Vlad
>
>
> On Tue, Dec 8, 2015 at 11:00 AM, Bengt Kleberg 
> <bengt.kleberg@REDACTED <mailto:bengt.kleberg@REDACTED>> wrote:
>
>     Greetings,
>
>     How do I make this output stay on one line? According to
>     io:columns/0 I have 160 characters, and the output is only 100.
>
>     3> io:fwrite( "Erlang memory usageErlang memory usage:
>     ~p~n",[erlang:process_info(erlang:self(), [stack_size, heap_size,
>     total_heap_size])] ).
>
>     Erlang memory usageErlang memory usage: [{stack_size,44},
>     {heap_size,987},
>     {total_heap_size,
>      2585}]
>
>
>     bengt
>     _______________________________________________
>     erlang-questions mailing list
>     erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
>     http://erlang.org/mailman/listinfo/erlang-questions
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151208/4fc7f09d/attachment.htm>


More information about the erlang-questions mailing list