aspose file tools*
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
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: 8893
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[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)