Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to monitor network traffic (uploads and downloads)  RSS feed

 
Sayantan Auddy
Ranch Hand
Posts: 35
  • 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: 9406
12
Linux Mac OS X Windows
  • 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
Boost this thread!