WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  How many users are connected to an application

    Posted 11/26/12 04:42 AM
    Hello,

    I have an application deployed on Websphere application server. Is it possible to know how many users are connected to this application ?

    Thanks,


  • 2.  How many users are connected to an application

    Posted 11/26/12 05:10 AM
    Hi Adilyos

      very good question I have do the same....look at:
     
       www.websphereusergroup.org/go/thread/vie...
     
      Depending on your application maybe with Web application counters and Servlet session counters you can get the information.  
     
      I have pending to investigate in WAS 8.5 cross component traces.
     
      Hope this helps,
     
    regards


  • 3.  How many users are connected to an application

    Posted 11/26/12 05:57 AM
    Hi Gabriel,

    Thank you for your help. I have read your post about the same question.

    - Can you please explain me what do you mean by "hit" ?

    - By the way can you explain me the concept of "thread" ? I know what it means but an explanation from an expert would be better :)

    - How do the thread serve a request ?

    I'm using WAS 6.1 ND.

    You still don't know how to get the information about how many users are connected ?

    Thanks,


  • 4.  How many users are connected to an application

    Posted 11/26/12 06:55 AM
    in the administration console

    Monitoring and tuning --> Performance monitoring infrastrucutre --> server name --> configuration --> custom

    here look for servlet session manager .. it will have around 15 or 16 parameters. may be something from here will help


  • 5.  How many users are connected to an application

    Posted 11/26/12 11:16 AM
    Adilyos,

    - Can you please explain me what do you mean by "hit" ?
      When I say "hit" I'm trying to differentiate between a "user" and requests made by him. What we want is to know the number of users connected to our systems, one user can request a page but this page can be split in multiples requests (servlet, static files,....) so depending the counter that you are using you can misinterpret the results.

    - By the way can you explain me the concept of "thread" ? I know what it means but an explanation from an expert would be better :)
    - How do the thread serve a request ?

       You can read about the threads and how it server a request in...
       
        pic.dhe.ibm.com/infocenter/wasinfo/v6r1/...
       
       sure is better explained than I can. If you don't understand anything glad to explain

    I'm using WAS 6.1 ND.

    You still don't know how to get the information about how many users are connected?

      In our case finally important applications used sessions and we know the number of servlets and what servlets are important, so taking the counter CreateCount and InvalidateCount from Servlet Session counter and doing a deduct between then we have the number of user connected to our applications in one moment in the time (the nearest without impacting performance 30 seconds).

    Using Servlet Session counters
    pic.dhe.ibm.com/infocenter/wasinfo/v6r1/...
     
      knowing when an application is creating sessions and never destroying then we have tune the applications. For us is sufficient

    Hope this helps.

    Regards