<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi ,<br><br>I am getting the follow error while running percept:profile<br><br><br>(client@127.0.0.1)3> percept:profile("test.dat", {sorter, go, [5, 2000, 15]}, [procs]).<br>Starting profiling.<br>ok<br><br>(client@127.0.0.1)4> percept:analyze("test.dat").<br>Parsing: "test.dat" <br>Consolidating...<br>Parsed 443 entries in 0.015602 s.<br>** exception error: bad argument<br> in function length/1<br> called as length({'EXIT',<0.56.0>,normal})<br> in call from percept:parse_and_insert_loop/5<br><br><br>and i am running Erlang R14B any idea how can i fix it and make it run?<br><br>Thanks<br><br><br><br><span class="EC_Apple-style-span" style="font-family: Tahoma;"><span class="EC_Apple-style-span" style="font-size: 12pt;"><span class="EC_Apple-style-span" style="font-style: italic;">Regards,</span></span></span><div><span class="EC_Apple-style-span" style="font-family: Tahoma;"><span class="EC_Apple-style-span" style="font-size: 12pt;"><br></span></span></div><div><span class="EC_Apple-style-span" style="font-size: 12pt;"><span class="EC_Apple-style-span" style="font-weight: bold;">Muhammad Yousaf</span></span></div><br><br><br><br><hr id="stopSpelling">From: wsongcn@gmail.com<br>Date: Thu, 2 Jun 2011 21:27:19 +0800<br>To: spawn.think@gmail.com<br>CC: erlang-questions@erlang.org<br>Subject: Re: [erlang-questions] Tool for performace evaluation<br><br>Great. Thanks.<br><br><div class="ecxgmail_quote">2011/6/2 Ahmed Omar <span dir="ltr"><<a href="mailto:spawn.think@gmail.com">spawn.think@gmail.com</a>></span><br><blockquote class="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
As a note, you can start etop in text mode<div>etop:start([{output, text}]).<div><div></div><div class="h5"><br><br><div class="ecxgmail_quote">2011/6/2 Hynek Vychodil <span dir="ltr"><<a href="mailto:hynek@gooddata.com">hynek@gooddata.com</a>></span><br>
<blockquote class="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Try use -X option to your ssh command. Don't forget that X11 protocol<br>
forwarding is also permitted in sshd configuration (X11Forwarding<br>
option in sshd_config).<br>
<div><div></div><div><br>
On Tue, May 31, 2011 at 8:32 AM, Andy W. Song <<a href="mailto:wsongcn@gmail.com">wsongcn@gmail.com</a>> wrote:<br>
> I run Erlang on a remote machine through SSH. When I fire up etop it get:<br>
> 1> etop:start().<br>
> Application initialization failed: no display name and no $DISPLAY<br>
> environment variable<br>
> Error in startup script: no display name and no $DISPLAY environment<br>
> variable<br>
> while executing<br>
> "load /usr/lib/libtk8.4.so.0 Tk"<br>
> ("package ifneeded" script)<br>
> invoked from within<br>
> "package require Tk 8.3"<br>
> (file "/usr/lib/erlang/lib/gs-1.5.12/priv/gstk.tcl" line 7)<br>
> How can I use text mode?<br>
> Thanks<br>
> Andy<br>
> On Mon, May 23, 2011 at 8:26 PM, Gustav Simonsson<br>
> <<a href="mailto:gustav.simonsson@erlang-solutions.com">gustav.simonsson@erlang-solutions.com</a>> wrote:<br>
>><br>
>> etop:start().<br>
>><br>
>> gives information similar to 'top' in UNIX:<br>
>> <a href="http://www.erlang.org/doc/man/etop.html" target="_blank">http://www.erlang.org/doc/man/etop.html</a><br>
>><br>
>> Regards,<br>
>> Gustav Simonsson<br>
>><br>
>> ----- Original Message -----<br>
>> From: "Muhammad Yousaf" <<a href="mailto:muhammad.yousaf@live.com">muhammad.yousaf@live.com</a>><br>
>> To: <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
>> Sent: Monday, May 23, 2011 1:00:32 PM GMT +01:00 Amsterdam / Berlin / Bern<br>
>> / Rome / Stockholm / Vienna<br>
>> Subject: [erlang-questions] Tool for performace evaluation<br>
>><br>
>><br>
>> Hi,<br>
>><br>
>> Is there any tools to evaluate the performance of a module in Erlang that<br>
>> can show graphical interface for time elapse, memory usage, performance<br>
>> benchmarks etc ??<br>
>><br>
>> or is there any alternative to do this in Erlang<br>
>><br>
>> Thanks in advance<br>
>><br>
>> Regards,<br>
>><br>
>><br>
>> Muhammad Yousaf<br>
>><br>
>><br>
>> _______________________________________________<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>
>> _______________________________________________<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>
><br>
><br>
><br>
> --<br>
> ---------------------------------------------------------------<br>
> 有志者,事竟成,破釜沉舟,百二秦关终属楚<br>
> 苦心人,天不负,卧薪尝胆,三千越甲可吞吴<br>
><br>
> _______________________________________________<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>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
--Hynek (Pichi) Vychodil<br>
<br>
Analyze your data in minutes. Share your insights instantly. Thrill<br>
your boss. Be a data hero!<br>
Try GoodData now for free: <a href="http://www.gooddata.com" target="_blank">www.gooddata.com</a><br>
</font><div><div></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>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div class="ecxim">-- <br>Best Regards,<br>- Ahmed Omar<div><a href="http://nl.linkedin.com/in/adiaa" target="_blank">http://nl.linkedin.com/in/adiaa</a></div>
<div>Follow me on twitter</div>
<div><a href="http://twitter.com/#%21/spawn_think" target="_blank">@spawn_think</a></div><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div>---------------------------------------------------------------</div><div>有志者,事竟成,破釜沉舟,百二秦关终属楚</div><div>苦心人,天不负,卧薪尝胆,三千越甲可吞吴</div><br>
<br>_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions </body>
</html>