Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View users who are online on the system #654

Open
sinhkien opened this issue Mar 12, 2024 · 2 comments
Open

View users who are online on the system #654

sinhkien opened this issue Mar 12, 2024 · 2 comments

Comments

@sinhkien
Copy link

sinhkien commented Mar 12, 2024

Hi development team
I have a problem
I have a current problem on my server that has a lot of users, I can't control how many people are currently using it on my system.
In the admin section there is a section to track users online at specific times. Let me ask here, how to track how many users are online at the present time on my system? instead of 5 minutes ago
How can I, as an administrator, see how many active users I have on my system?
I look forward to receiving your support
I use nextcloud version 28.0.2
Operating system: Rock Linux 9
Thank you!
image

@joshtrichards
Copy link
Member

Let me ask here, how to track how many users are online at the present time on my system? instead of 5 minutes ago
How can I, as an administrator, see how many active users I have on my system?

Define "active user" and "now". Keep in mind we're talking HTTP traffic here so... things are fairly stateless.

5 minutes is a pretty good gauge. Maybe 1 minute granularity (in some environments).

Can you share a bit more about your use case? What problem are you, specifically, trying to solve?

@joshtrichards joshtrichards transferred this issue from nextcloud/server Aug 1, 2024
@kesselb
Copy link
Collaborator

kesselb commented Aug 2, 2024

There's a script to list the users by last login: https://help.nextcloud.com/t/script-nc-who-similar-to-unix-who-follow-live-who-is-logged-in/164972

Sounds like a good feature to me.
The oc_authtoken table should have all the required information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants