How to find the max concurrent sessions

au071
au071 used Ask the Experts™
on
Given the data as:
User 1: Login time, Log out time
User 2: Login time, Log out time
....

How to find out the max concurrent users during the time period?

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2014
Top Expert 2015
Commented:
Sort all logins and log outs by time
go through in order, incrementing for each login, decrementing for each log out
keep track of the max

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial