ejabberd resources log [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this questionI'm looking for a module or trick to see, what resources are logged in to the ejabberd server.
I could log in with a script to one account and fetch all presence stanzas, but I hope there is a better way of getting the data.
Btw all user accounts from the ejabberd server are on all user rosters, so everyone sees everyone.
I think what you want is the following:
ejabberdctl user_resources $USER $HOST
On my server this lists the resources for the specified user which are currently connected to the server.
精彩评论