File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to monitor network traffic (uploads and downloads)

 
Sayantan Auddy
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is it possible to monitor the volume of uploads and downloads occuring over the various network interfaces in a computer?
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic