At 14:06 21/01/99 +1100, Deene wrote:
>Hi,
>I'm wondering if anyone can suggest a squid log parsing script, that will
>mail out a small report each morning, about the previous nights usage. It
>only needs to include things like Cache Hits(MB), Gross ThroughPut(MB),
>maybe Average and Max. Requests/Hour.. I've found most of the scripts
>advertised on nlanr.net have "too" much info.. they're several screen
>sizes (page downs). Im only looking for about a 1 page report (straight to
>the point kind of thing).
I can sort of guess you're talking about Calamaris..
If the summary page is all you need, you might try just creating it as a
file, and using head to chop off x amount of lines from the start of the
file and send that to you. I should always be the same size. You might need
to come up with some creative use of head, tail, and other similar commands
to come up with your wanted result, and it allows you to keep a full
breakdown of the traffic for later persual if needed.
Stuart Young - sgy@amc.com.au - cefiar@amarok.glasswings.com.au
(aka Cefiar) - http://amarok.glasswings.com.au/
[All opinions expressed in the above message are my]
[own and not necessarily the views of my employer..]
Received on Wed Jan 20 1999 - 23:28:51 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:05 MST