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