RES: [squid-users] Determining "who is online"

From: Renato Policani <RenatoPolicani@dont-contact.us>
Date: Wed, 30 Mar 2005 12:52:26 -0300

Hi, Use /usr/sbin/lsof -i | grep squid
[ ]´s
Renato Policani.

-----Mensagem original-----
De: Douglas Lane [mailto:doug@interserve.co.za]
Enviada em: quarta-feira, 30 de março de 2005 12:06
Para: squid-users@squid-cache.org
Assunto: [squid-users] Determining "who is online"

Hi all,

I am looking for a solution that will allow me to see "who is online" using
my proxy server. The proxy server is setup to use authentication. What I
want is a utility that will show me who is logged onto the squid server with
their username and ip address.

I suppose I could build a script that monitors the access.log file pulling
all the user names, and then matching up an IP address, and finally showing
it on the console. But how accurate would it be? How would I know when
someone stops accessing it? Or should I then match the IP address from the
log file to a "netstat -na | grep :3128" and establish whether the client is
online or offline.

Any ideas? Or anyone know of a program?

All help is appreciated!

Thanks

Doug

Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima
identificado(s), podendo conter informações e/ou documentos
confidencias/privilegiados e seu sigilo é protegido por lei.
Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de
seu sistema.
Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou
uso sem expressa autorização do remetente.
Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da
CETIP, o qual é divulgado somente por pessoas autorizadas.

Attention: This message was sent for exclusive use of the addressees above
identified, being able to contain information and or privileged/confidential documents
and law protects its secrecies.
In case that you it has received for deceit, please, it informs the shipper and erases it
of your system.
We notify that law forbids its retention, dissemination, distribution, copy or use without
express authorization.
Personal opinions of the shipper do not reflect, necessarily, the point of view of the
CETIP, which is only divulged by authorized people.
Received on Wed Mar 30 2005 - 08:52:33 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:03 MST