Show users connected to the server

Hi,

I want to know how many users are currently connected to the ownCloud instance. I.e. an occ command that lists all users with an open session.

Thank you in advance.

Server configuration

Operating system:
CentOS 7
Web server:
Apache 2.4.6
Database:
MySQL Ver 15.1 Distrib 5.5.64-MariaDB
PHP version:
php v7.0.33
ownCloud version: (see ownCloud admin page)
9.1.8.2

That doesn’t exist, so you could open a feature request, but I doubt that would be very fruitful, especially not for ownCloud 9.x

Have you thought about just counting the sessions in your PHP session storage? Also have a look into mod_status for apache

2 Likes