适用于 Mac OS X Leopard 的软件,用于跟踪和记录网络使用情况
我正在寻找一个可以安装在 Mac 上的程序,它可以告诉我每天下载了多少字节,并以某种方式存储该信息,以便我稍后查看结果。
通过端口(80、443、21、22)进行限制也很棒。
这样的事情存在吗?
I'm looking for a program that I can install on a Mac that will tell me how many bytes I download each day, and store that info in such a way that I could later view the results.
Limiting by ports (80, 443, 21, 22) would be awesome as well.
Does such a thing exist?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
您可能会对 Wireshark 感兴趣。
Wireshark might be of interest to you.
您可以运行本地网络代理,然后分析日志。
下载并安装 SquidMan 非常简单,只需点击一下即可
在您的系统上启用鱿鱼网络代理的方法。
您必须配置您的计算机以通过本地主机上的代理
而不是直接访问网站。 您可以在高级选项卡中找到它
系统偏好设置中的网络接口 -> 网络
然后,您可以分析日志,不仅可以查看下载了多少内容,还可以查看
什么以及何时。
You could run a local web proxy, then analyze the logs.
It's simple to download and install SquidMan, which is a point and click
way of enabling the squid web proxy on your system.
You will have to configure your machine to go through the proxy on localhost
instead of directly to the website. You can find this in advanced tab of
your network interface in System Preferences -> Network
Then, you can analyze the logs and see not only how much you've downloaded, but also
what and when.
在终端中输入“man tcpdump”。
Type 'man tcpdump' in a terminal.
好的,这不是一个完整的包或任何东西,但 netstat 会向您显示字节
通过界面传输,
您可以每天在某个地方记录这一点。 “man netstat”了解更多信息。
Ok, this isn't a complete package or anything, but netstat will show you bytes
transmitted on an interface
you can record this somewhere every day. "man netstat" for more info.
另一个工具是 ethernal 但它已经很久没有更新了尽管。
Another tool for this is ethernal but it hasn't been updated for a while.
我刚刚遇到这两个应用程序,Net Monitor 和 Net Monitor Sidekick,第一个执行您所描述的操作(使用计算器确定日期范围内的吞吐量),第二个按主机跟踪流量。 在尝试使用 ntop 后,它的设置很糟糕,使用起来很糟糕,而且非常非常有限,我很兴奋=)
I just came across these two apps, Net Monitor and Net Monitor Sidekick, the first to do what you describe (with a calculator to determine throughput over a date range), the second to track traffic by host. After trying to use ntop, which is horrible to set up, hideous to use, and very, very limited, I'm thrilled =)