GET total session number in openAM

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Peter Major Peter Major 1 week, 5 days ago.

  • Author
    Posts
  • #18138
    Profile photo of egicass egicass 
    Participant

    Hi

    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.
    BR
    Giuseppe Cassata

    • This topic was modified 1 week, 6 days ago by Profile photo of egicass egicass.
    • This topic was modified 1 week, 6 days ago by Profile photo of egicass egicass.
    #18142
    Profile photo of Peter Major Peter Major 
    Moderator

    https://blogs.forgerock.org/petermajor/2010/07/monitoring-number-of-active-sessions-with-snmp/ ?

    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.

©2017 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?