[analog-help] How many users are logged on at a given time and
how long are they logged on
Wallace Nicoll
wallace at edinburgh.gov.uk
Thu Jul 20 01:53:06 PDT 2006
Since users have to authenticate on my system (which analyses internal
users accessing the Internet through a proxy server), we record their
login names in the logfiles. I wrote Unix shell and perl scripts to
separately analyse the logfiles for concurrency (how many users created
a log entry each minute), as well as counting up how many unique minutes
during the day that a user generated a log file entry. I know there are
some caveats to the stats, though, but it is useful in identifying
trends, or explaining performance slowdowns (when some major news event
(like 9/11) causes everyone to immediately check up on their favourite
news website!).
Wallace.
Walter Ian Kaye wrote:
> At 01:59p -0400 07/19/2006, D'Amore, Chris didst inscribe upon an
> electronic papyrus:
>
>> Content-class: urn:content-classes:message
>> Content-Type: multipart/alternative;
>> boundary="----_=_NextPart_001_01C6AB5D.09509CE6"
>>
>> Is there any way to show how many users are logged in at a given time
>
>
> Usually sites do that in real time; I'm sure you've seen sites where
> the page announces "Currently 53 users are online" or somesuch phrase.
>
>> and possibly how long they are logged on for?
>
>
> This is generally info your web application knows and report
> generators don't.
> You could generate your own log files with data such as this:
>
> date/time in username
> date/time out username length
>
> Then feed those to Analog for reporting.
>
> -W
> +------------------------------------------------------------------------
**********************************************************************
This Email and files transmitted with it are confidential and are intended for the sole use of the individual or organisation to whom they are addressed. If you have received this Email in error please notify the sender immediately and delete it without using, copying, storing, forwarding or disclosing its contents to any other person. The Council has endeavoured to scan this Email message and attachments for computer viruses and will not be liable for any losses incurred by the recipient.
**********************************************************************
More information about the analog-help
mailing list