LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-10-2012, 12:00 PM   #1
SarahRashad
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
How to calculate network bandwidth using java code?


I am working on a project that needs to keep a record of the BW every now and then ... any idea except sending and receiving data with known size to a known server??
 
Old 01-10-2012, 12:18 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,473

Rep: Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539
Quote:
Originally Posted by SarahRashad View Post
I am working on a project that needs to keep a record of the BW every now and then ... any idea except sending and receiving data with known size to a known server??
Ok...did you try to look this up first?? There are plenty of Java examples for network bandwidth monitoring you can easily find with Google, like this one:
http://www.crazysquirrel.com/computi...tware/bwu.jspx

There are also a LOT of network monitoring tools already out there, such as mrtg and Cacti, that do this already. Are you needing it to be Java for a reason, or are you just looking to monitor bandwidth, and you just know Java??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to calculate ISP bandwidth rhine2 Programming 2 10-14-2009 08:36 AM
Calculate e^x in Java ckoniecny Programming 6 07-25-2007 10:28 AM
How to calculate bandwidth on linux epsharma Linux - Software 4 07-02-2006 10:45 AM


All times are GMT -5. The time now is 07:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration