in reply to Re^2: How to Iterate to Identify Concurrent Users
in thread How to Iterate to Identify Concurrent Users

Do you mean "the maximum number of concurrent users over the span of the log file"? The total of one number is rather uninteresting, especially when you're not clear on what that number is.
  • Comment on Re^3: How to Iterate to Identify Concurrent Users

Replies are listed 'Best First'.
Re^4: How to Iterate to Identify Concurrent Users
by Anonymous Monk on Oct 26, 2007 at 01:18 UTC
    If user A logs on at 9:30 and leaves at 9:45 and user B logs at 9:40 and leaves at 10:00, that would be two concurrent/simultaneous users. I would like to capture the incremental number of concurrent users over the lifetime of the log file, as unintresting as it seems ;-) I hope this makes sense.

      that would be two concurrent/simultaneous users.

      No, that would be "two concurrent/simultaneous users between 9:40 and 9:45". Saying "x concurrent users" without specifying when makes no sense.

      Two is also the "maximum number of concurrent users between 9:30 and 10:00", and the figure I presume you want.

      You may be able to query whatever device is producing these logs in realtime over SNMP and ask it directly how many sessions are currently active. Then, you would be able to use something like RRDtool (and its Perl wrapper library) with an SNMP frontend.

      PS. incremental is confusing.