Penguin
Note: You are viewing an old revision of this page. View the current version.

squid-current-users? Uses snmpwalk(1) to retrieve a list of IP addresses that have been clients (users) of squid since it's last restart.

  1. /bin/bash

snmpwalk -Cc -m /root/squid-mib-06.txt -p3401 localhost public cache | grep cacheClientAddr | cut --fields=2 -d: | tr -d ' ' | sort