[ejabberd] ejabberd and etop

Christopher Zorn christopher.zorn at gmail.com
Wed Jan 20 19:13:26 MSK 2010

On Wed, Jan 20, 2010 at 11:02 AM, Jeffrey Rogiers <jeffrey.rogiers at gmail.com
> wrote:

> I have a handful of modules i've been working on and as i've started
> to put them into production i've noticed that the cpu usage is a bit
> higher then usual.
> I am trying to profile the running modules to see if i can get an idea
> as to which modules is causing the extra cpu usage.
> I was curious if anyone has used etop along with ejabberd for
> profiling. I tried using the ejabberd debug command and in the console
> used etop:start() and etop:start([{output, text}]) but both give me
> errors.
> Any other ideas are also welcome.
If you run the following it should work.

`exec $ERL $NAME ejabberdetop$SUFFIX -hidden -s etop -s erlang halt -output
text -tracing off -node $ERLANG_NODE`

You can get the enviroment variables from ejabberdctl

Hope this helps!

> Thanks,
> Jeffrey Rogiers
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100120/aec2ce17/attachment-0001.html>

More information about the ejabberd mailing list