Monitor the number of concurrent user sessions?

cancel
Showing results for 
Search instead for 
Did you mean: 
villdre
Active Member II

Monitor the number of concurrent user sessions?

On Alfresco Community (5.2) is there a way to monitor the number of concurrent user sessions? One of our instances is getting low performance, and I suspect it is due to high user load. I would like to confirm this assumption.

Thanks!

3 Replies
angelborroy
Alfresco Employee

Re: Monitor the number of concurrent user sessions?

You can use this addon:

GitHub - OrderOfTheBee/ootbee-support-tools: OOTBee Support Tools addon to extend set of administrat... 

This will allow you to check concurrent user sessions and many other parameters in your system.

Hyland Developer Evangelist
kintu_barot
Senior Member

Re: Monitor the number of concurrent user sessions?

You can get the number of users currently logged in by TicketComponent.

private TicketComponent ticketComponent;

Set<String> currentUsers = ticketComponent.getUsersWithTickets(true);
System.out.println("Number of logged in users : "+currentUsers.size());

Regards,

Kintu

ContCentric

Regards,
Kintu
abhinavmishra14
Advanced

Re: Monitor the number of concurrent user sessions?

Using support tool addOn would be a great option as Angel mentioned above. We used a custom webscript to get the ticket count when support tools were not available with older version of alfresco (Sort of what Kintu mentioned above).

You can check here as well:

https://community.alfresco.com/community/ecm/blog/2019/07/09/extracting-active-logged-in-users-and-a...

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)