[ejabberd] Find specific online users

Badlop badlop at gmail.com
Sat Sep 1 21:26:59 MSK 2012

On 31 August 2012 17:53, Alexander Zhebrak <fata2ex at gmail.com> wrote:
> Hi.
> I have an ejabberd client that uses exmpp. How can I find users (or all
> resources for particular user) via exmpp or rpc etc?
> Now I'm using 'ejabberdctl user_resources' over ssh, but as soon as I run
> more than one process it starts to return '{error,duplicate_name}' and
> overloads CPU.

You can run that command using a XML-RPC client, if you install
ejabberd_xmlrpc in the server.

Or using REST, if you install mod_rest.

Both of those methods allow concurrent use and are more efficient than
ejabberdctl shell script.


More information about the ejabberd mailing list