in reply to How to Iterate to Identify Concurrent Users
What do you want to output? A single number indicating the greatest number of concurrent users? A list indicating the number of concurrent users whenever that number changes? A list of hourly (or some other period) reports indicating the maximum number of concurrent users in that period? Something else?
If you have a list of connect/disconnect times then you can sort the list by event, then iterate through the list incrementing or decrementing a connected count as appropriate for each event.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to Iterate to Identify Concurrent Users
by Anonymous Monk on Oct 26, 2007 at 00:21 UTC | |
by merlyn (Sage) on Oct 26, 2007 at 00:34 UTC | |
by Anonymous Monk on Oct 26, 2007 at 01:00 UTC | |
by GrandFather (Saint) on Oct 26, 2007 at 01:30 UTC | |
by ikegami (Patriarch) on Oct 26, 2007 at 00:32 UTC | |
by Anonymous Monk on Oct 26, 2007 at 01:18 UTC | |
by ikegami (Patriarch) on Oct 26, 2007 at 01:24 UTC | |
by fenLisesi (Priest) on Oct 26, 2007 at 11:59 UTC |