squidview


About

Squidview is an interactive console program which monitors and displays squid logs in a nice fashion, and may then go deeper with searching and reporting functions.

(If you don't know what squid is or does this program is probably not for you.)

To use squidview you must at least have read access to squid's access.log file. You may need to see your administrator for this. Squidview uses this text log file for all operations. It does not generate its own database for tasks.

Screenshots

Click on an image for enlargement.
normal mode The selected line shows a request made for a .gif at the shown time. As luck would have it, the 'H' indicates a cache hit :) In this mode user traffic can scroll by.
raw What the above would be if viewed with less.
tally A tally of all users against the bandwidth they used. Kept current in near real time.
one user A quick investigation into the recent history of one user.

Download

Get the source: squidview-0.86.tar.gz (128kB) and compile it. The program is written in a mixture of c and c++. You should already have the ncurses library. Please contact me if it won't compile in your environment.

Notes

Squidview has a number of functions. Navigate the log file with the cursor pad keys, jump to a certain day or switch to a different log file. Search for text or large http/ftp requests.

Put squidview into monitor mode: see the latest activity updated every 3 seconds (this is light on cpu load).

Reports can be generated listing the heavist Internet users and the most popular visited sites. See how many cache hits squid makes to save network traffic.

Squidview is released under the GPL.

Developers/Distributors

Click for changelog and the to do list: developer.txt.

Email the author

Back to my home page.