GET total session number in openAM

This topic has 1 reply, 2 voices, and was last updated 5 years, 1 month ago by Peter Major.

  • Author
  • #18138


    The command:

    ssoadm list-sessions -t <protocol>://<fqdn>:8080 -u amadmin -f pwdfile -q

    Returns the list of active sessions, and other very useful statistics, but I have a doubt
    – Returns all the sessions? Is there any threshold/limitation of the result?
    – Is there any way to get only the number of session (at the moment i use | tail -1)?

    Thank you very much.
    Giuseppe Cassata

    • This topic was modified 5 years, 1 month ago by egicass.
    • This topic was modified 5 years, 1 month ago by egicass.
     Peter Major
    Moderator ?

    On the latest versions of AM there isn’t an easy way to know the number of active sessions because the servers no longer store copies of the sessions in memory (just a few of them for caching purposes). Querying the CTS is one way to go about it, but there is no scalable way to monitor CTS either due to the chosen data structure.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?