ejabberd - Comments for "mod_admin_extra, feature request: user_status" https://www.ejabberd.im/node/4061 en doesn't work for me, command not known https://www.ejabberd.im/node/4061#comment-56690 <p>Hi badlop, we have ejabberd installed on our CentOS server that we installed through yum. mod_admin_extra is enabled by default on the package. However, when I run user_sessions_info it says:</p> <p>command "user_sessions_info" not known.</p> <p>Other commands such as connect_users_vhost, connected_users_info also doesn't work. On the other hand, other mod_admin_extra commands such as add_rosteritem, get_roster, status_num etc are working.</p> <p>Edit: Fixed it. The CentOS package was not updated with the latest mod_admin_extra file. Compiled it from source and replaced the default mod_admin_extra.beam file, and it worked. Thanks for this module. :)</p> Fri, 01 Oct 2010 07:50:26 +0000 mives comment 56690 at https://www.ejabberd.im Thanks a lot https://www.ejabberd.im/node/4061#comment-56032 <p>Thanks a lot :) It's working successfully</p> Wed, 09 Jun 2010 22:35:11 +0000 drscream comment 56032 at https://www.ejabberd.im Implemented in SVN https://www.ejabberd.im/node/4061#comment-55782 <p>I've improved an existing command in that module, and committed it to SVN. See:</p> <pre> $ ejabberdctl help user_sessions_info Command Name: user_sessions_info Arguments: user::string host::string Returns: sessions_info::[ session::{ connection::string, ip::string, port::integer, priority::integer, node::string, uptime::integer, status::string, resource::string, statustext::string } ] Tags: session Description: Get information about all sessions of a user $ ejabberdctl user_sessions_info badlop localhost c2s 127.0.0.1 60415 8 ejabberd@localhost 127 away work laptop away for lunch c2s 127.0.0.1 60414 15 ejabberd@localhost 141 dnd Home testing this </pre> Thu, 20 May 2010 09:41:49 +0000 mfoss comment 55782 at https://www.ejabberd.im