Java 带宽监控
我正在开发一个基于网络的客户端服务器应用程序,其中“互联网时间”被分配给计算机上的客户端,然后客户端登录并使用它,但我还需要一种方法来监视客户端使用的带宽。我正在用Java编写,我知道这是可以完成的,因为我们目前正在使用这样的程序(几年前买的),但它已经过时并且缺乏功能。
仅仅监控 IE、Firefox 和 Chrome 的使用情况是否会更容易?
现在我正在寻找任何教程、帮助、推动正确方向的链接。我不知道如何开始。尝试在网上搜索,我得到了一些东西,但似乎无法使代码正常工作,因为它们只给出了不完整的信息。
I am developing a Network based Client Server Application where "internet time" is allocated to a client on the computer, which then logs in and use it, but I need a way to also monitor the bandwidth the client uses. I am writing in Java, I know it can be done as we are using such program currently(Bought it few years back) but it is outdated and lacking features.
If it might be an easier job to just monitor the usage of let say, IE, Firefox and Chrome?
Now I am looking for any links to tutorials, help, push in the right direction. I am lost to how to start at it. Tried searching the web, I got a few stuff but can't seem to get the code working as they only give in incomplete.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
以下是代码的链接,称为Internet 带宽监视器 。这是一个简单的工具,可以用图表监控上传和下载。
Here is the link to code which is termed as Internet Bandwidth Monitor. It is simple tool that monitors the uploads and downloads with graph.
进行带宽监控和可能的限制的 servlet 过滤器可能会做得很好。
A servlet filter that does band width monitoring and possibly throttling might do nicely.