Please support printing the number of currently connected users with prosodyctl (comparable to ejabberdctl).
answering to myself here: this can be achieved via mod_listusers.
After placing it into the modules path you can get the number of currently connected users via:
prosodyctl mod_listusers --connected |wc -l
If you want to get the number of "unique" users currently online, i.e. filtering out the simultaneously connected ressources of the same user, you can achieve this via:
prosodyctl mod_listusers --connected |cut -d"/" -f1 |sort -u |wc -l
only (big) caveat here with mod_listusers is, that it depends on mod_admin_telnet, something I would definitely like to avoid, as calls to prosodyctl can be way better controlled (e.g. with sudo) than those to the local telnet console...