Topic
6 replies Latest Post - ‏2013-12-26T06:04:39Z by raj_kgdr
heckerd@us.ibm.com
heckerd@us.ibm.com
8 Posts
ACCEPTED ANSWER

Pinned topic Is there a way to monitor user activity i.e. logins/logouts?

‏2009-02-02T22:11:30Z |
Hello -

I am trying to learn the usage patterns of our teams. We have quite a few users and I'm trying to find way to see how often users log in, how long they stay logged in, etc. Ideally this would give me per-user information, so I can get an idea which users are more demanding and which users rarely log in, etc.

Does anyone know a way to do this in CQ? Any advice appreciated!

thank you, Dave
Updated on 2009-02-17T15:18:04Z at 2009-02-17T15:18:04Z by heckerd@us.ibm.com
  • yossis
    yossis
    11 Posts
    ACCEPTED ANSWER

    Re: Is there a way to monitor user activity i.e. logins/logouts?

    ‏2009-02-03T08:28:40Z  in response to heckerd@us.ibm.com
    Hi,
    See attached zip file.
    You have:
    CC_graph for ClearCase (Atria)
    CQ_graph for ClearQuest (FlexLM)
    MS_graph for MultiSite (Atria)
    (Originally written by http://www.abs-consulting.com )

    After unzip (to R:\Work\www\Root\ or another folder),
    run a scedular every 12 minutes, for example:-
    "c:\Program Files\Rational\ClearCase\bin\ccperl.exe" R:\Work\www\Root\CQ_GRAPH\CQ_GRAPH_LIC.pl
    and specify the Start Up folder as:
    R:\Work\www\Root\CQ_GRAPH

    Have Fun,
    Yossi Sidi
    • heckerd@us.ibm.com
      heckerd@us.ibm.com
      8 Posts
      ACCEPTED ANSWER

      Re: Is there a way to monitor user activity i.e. logins/logouts?

      ‏2009-02-03T17:02:05Z  in response to yossis
      That did the trick, thank you!!
      • heckerd@us.ibm.com
        heckerd@us.ibm.com
        8 Posts
        ACCEPTED ANSWER

        Re: Is there a way to monitor user activity i.e. logins/logouts?

        ‏2009-02-06T01:25:28Z  in response to heckerd@us.ibm.com
        Another question, if you don't mind!

        The utility is working well, except for one thing. The tool always reports that there are exactly twice the number of licenses in use then there actually are.

        I altered the lmutil command so that I would ONLY see users who are using our TUP licenses because we have lots of small batches and that is the only one I am concerned about. So, the command looks like 'lmutil lmstat -f UnifyingPlatform'. If I issue a 'lmutil lmstat' command I see:

        rational: UP v10.8
        ibmratl: UP v11.3

        If I use the command 'lmutil lmstat -f UnifyingPlatform' I see two identical lists of users who have licenses checked out. As a result, I am seeing reports that my users are using 24 out of 22 licenses when in fact they are using 12 out of 22.

        Has anyone seen this error? thanks, Dave

        ______________________________________________________

        Yossi Sidi posted the following, but a gateway problem prevented it from being added to the web.

        Hi,
        I have never had such a problem.

        Can you provide the output of the "lmutil" command?
        Can you provide an image of "IBM Rational License Key Administrator"
        screen layout ?
        Is it possible that you have a secondary license server ?

        Best Regards,
        Yossi Sidi
        Updated on 2009-02-06T01:25:28Z at 2009-02-06T01:25:28Z by heckerd@us.ibm.com
        • SystemAdmin
          SystemAdmin
          24948 Posts
          ACCEPTED ANSWER

          Re: Is there a way to monitor user activity i.e. logins/logouts?

          ‏2009-02-12T17:32:02Z  in response to heckerd@us.ibm.com
          Dave, the output shows you as running both rational and ibmratl vendor daemons. They will both respond to queries about licenses, thus giving you "double" the actual licenses in use.
          • heckerd@us.ibm.com
            heckerd@us.ibm.com
            8 Posts
            ACCEPTED ANSWER

            Re: Is there a way to monitor user activity i.e. logins/logouts?

            ‏2009-02-17T15:18:04Z  in response to SystemAdmin
            Does anyone know an easy way to defeat this? I need to show these reports to the mgmt regularly, since we are short on licenses and there are some politics around the whole issue.

            If need be, I can go in to the script and find the variable then divide by 2!
            • raj_kgdr
              raj_kgdr
              62 Posts
              ACCEPTED ANSWER

              Re: Is there a way to monitor user activity i.e. logins/logouts?

              ‏2013-12-26T06:04:39Z  in response to heckerd@us.ibm.com

              Hi All,

              I see this posted in 2009, hope you found some solution for this. Kindly share across please.

              I too have the same problem and couldn't understand the cause of the issue.

               

              Thanks and a very Happy New Year 2014 in advance.