Unfortunately this is not for *nix but I have an automated process to analyise my IIS logs that moves them off the web server and analyises them with Web Log Expert. Provided the appropriate counter is turned on it gives me the bandwidth consumed for every element of the site.
The free version of their tool won't allow scripting but it does the same analysis. It supports W3C Extended and Apache (Common and Combined) log formats.
Take a look at mrtg. It's fairly easy to set up, runs a simple cron job to collect snmp stats from your router, and shows some reasonable and simple graphs. Data is stored in an RRD database (see the mrtg page for details) and can be mined for other uses as well.
发布评论
评论(4)
vnStat 是轻量级的。 (如果命令行工具提供的图表不够漂亮,那么还有很多前端。)
vnStat is about as lightweight as they come. (There's plenty of front ends around if the graphs the command line tool gives aren't pretty enough.)
我使用 munin。 它可以制作漂亮的图表,如果您愿意的话还可以设置警报。
I use munin. It makes pretty graphs and can set up alerts if you're so inclined.
不幸的是,这不适用于 *nix,但我有一个自动过程来分析我的 IIS 日志,将它们移出 Web 服务器并使用 网络日志专家。 如果打开了适当的计数器,它就会为我提供站点每个元素消耗的带宽。
他们的工具的免费版本不允许编写脚本,但它可以进行相同的分析。 它支持 W3C 扩展和 Apache(通用和组合)日志格式。
Unfortunately this is not for *nix but I have an automated process to analyise my IIS logs that moves them off the web server and analyises them with Web Log Expert. Provided the appropriate counter is turned on it gives me the bandwidth consumed for every element of the site.
The free version of their tool won't allow scripting but it does the same analysis. It supports W3C Extended and Apache (Common and Combined) log formats.
看看mrtg。 它的设置相当容易,运行一个简单的 cron 作业来从路由器收集 snmp 统计信息,并显示一些合理且简单的图表。 数据存储在 RRD 数据库中(有关详细信息,请参阅 mrtg 页面),也可以挖掘用于其他用途。
Take a look at mrtg. It's fairly easy to set up, runs a simple cron job to collect snmp stats from your router, and shows some reasonable and simple graphs. Data is stored in an RRD database (see the mrtg page for details) and can be mined for other uses as well.