Joel Taqueban wrote:
> currently logged in. With Squid, how should I determine or know the
> users currently accessing the web via the proxy". Sorry for being
Perhaps the simplest equivalence of "who" for a HTTP proxy is by parsing
the last minutes of traffic log.
One example of a such command:
echo "username ip-address" ; tail -c 100000
/usr/local/squid/logs/access.log | read junk | awk '{print $8 $3}' |
sort -u
Adjust 100000 to match the amount of logs generated for the time period
you'd like to see.
--- Henrik Nordstrom Spare time Squid hackerReceived on Mon Mar 29 1999 - 13:55:19 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:34 MST