Kaie"s Blog 2.0 beta!
Back to "Top"

My Secret Notebook
 Show "Table of Contents"
Contact Me
Subscribe to my Posts feed
Subscribe to my Comments feed
My Flickr
Back to "Top"
My Secret Notebook
 Show "Table of Contents"
Contact Me
Subscribe to my Posts feed
Subscribe to my Comments feed
My Flickr

Wednesday, May 17, 2006

[Gentoo] SARG : Squid Analysis Report Generator

.Introduction: Squid Analysis Report Generator is a tool that allow you to view "where" your users are going to on the Internet.Sarg provides many informations about Squid users activities: times, bytes, sites, etc...
他的原理相當的簡單,就是將 logfile 拿出來,然後進行一下解析,依據不同的時間、網站、與熱門網站等等來進行資料的輸出。
※參考資料: 鳥哥的 Linux 私房菜 -- 代理伺服器 squid 設定

1.「emerge sarg」(前提你當然要先裝好 Squid)
2.修改「/etc/sarg/sarg.conf」設定方式,參照上面鳥哥那篇。
3. [root]@gentoo : squid# sarg 直接下指令就,等他分析完Log就OK啦
4. http://140.118.155.116/squid-reports/ 到這就可以看到你要的東西囉!!

相當容易上手,Good!!