How to monitor number of concurrent authors? | Community
Skip to main content
Level 2
March 27, 2017
Solved

How to monitor number of concurrent authors?

  • March 27, 2017
  • 4 replies
  • 4533 views

Hello all,

We have been investigating the possibility of using MongoMK for our Author instances, and have decided to continue using TarMK until we absolutely have to switch. One of the suggested Mongo requirements is if you get above 100 concurrent authors. How can you monitor the number of concurrent authors?

Thank you,

Andrew

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by sandeepm744005

You can try below commands -------------------------------------------------------------------

To see the number of authors that have used the system since installation use the command line:
cd <cq-installation-dir>/crx-quickstart/logs

cut -d " " -f 3 access.log | sort -u | wc -l

To see the number of authors working on a given date:

grep "<date>" access.log | cut -d " " -f 3 | sort -u | wc -l

4 replies

MC_Stuff
Level 10
March 28, 2017

Hi Andrew,

Every request in aem is atomic & you need to integrated with any idp (saml...) to get the concurrent monitor validation Or need custom implementation.    Other workarounds like  /system/console/tokenmgr Or parsing logs really not scale out well from personal implementation experience.

Thanks,

sandeepm744005
sandeepm744005Accepted solution
Level 5
March 28, 2017

You can try below commands -------------------------------------------------------------------

To see the number of authors that have used the system since installation use the command line:
cd <cq-installation-dir>/crx-quickstart/logs

cut -d " " -f 3 access.log | sort -u | wc -l

To see the number of authors working on a given date:

grep "<date>" access.log | cut -d " " -f 3 | sort -u | wc -l

Level 2
March 28, 2017

Thanks - will they scale up to ~100 users okay? We're mostly worried about that threshold in particular

Level 2
March 28, 2017

Thanks Sandeep, that actually really helps. It looks like we've only had 80 unique users in the last week, and the highest was 58 in one day. It's safe to say we're under the 100 concurrent user threshold. We'll have to look into better ways to watch concurrent users.