[erlang-questions] clarify:
Vlad Dumitrescu
vladdu55@REDACTED
Tue Dec 8 11:02:48 CET 2015
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>
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
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151208/619ab906/attachment.htm>
More information about the erlang-questions
mailing list