This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes How to monitor network traffic (uploads and downloads) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How to monitor network traffic (uploads and downloads)" Watch "How to monitor network traffic (uploads and downloads)" New topic
Author

How to monitor network traffic (uploads and downloads)

Sayantan Auddy
Ranch Hand

Joined: Dec 18, 2008
Posts: 35
How is it possible to monitor the volume of uploads and downloads occuring over the various network interfaces in a computer?


Sayantan Auddy,SCJP 5.0
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9045
    
    9

Sure. If you are using an open operating system like Linux, you can find out a great deal of information via the /proc filesystem, including the status of network devices and traffic figures.
If you are using a closed operating system like Windows, well, I guess there's always the Windows API and JNI.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to monitor network traffic (uploads and downloads)