开发者

Network statistics

开发者 https://www.devze.com 2022-12-21 20:38 出处:网络
I\'m trying to collect network statistics on my computer and draw a pie chart. An example is shown below.

I'm trying to collect network statistics on my computer and draw a pie chart. An example is shown below.

my computer connects to port 80   75%
my computer connec开发者_如何学Gots to port 443  20%
my computer connects to port 443  5%

But I don't know how to get each port that my machine is connecting to.

I will be using Java to develop this.


You should check out jNetPcap, which allows you to monitor network traffic.

http://jnetpcap.com/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号