now what is the command to get current net speed without downloading any file ?
i tried the following
sudo ethtool -S eth0
[sudo] password for user:
NIC statistics:
early_rx: 0
tx_buf_mapped: 0
tx_timeouts: 0
rx_lost_in_ring: 0
but still i am not getting the speed in kbps ???
david schwarz
It is not possible to determine the speed any way other than trying it and seeing. There is simply no way to know what will be the limiting factor.
david
That's easy: if you're not transmitting or receving anything, your speed is 0 kbps.
If you are trying to figure out what the NIC is set to (10Mbps, 100Mbps,etc.) that information is shown by ethtool.
Maxwell lol
echo 0
(if you aren't downloading, then you aren't using the network).You could use a sniffer and calculate the current rate for existing traffic.
wolfang draxinger
If there are 0 bytes transferred per second, then the speed is 0 bits/s. So there must be some data transferred to have something to measure.
If you just want to know the bandwidth utilized, without wasting bandwidth,then nstat, or dstat might be the right tool for you. But again: If there's nothing transmitted, there's nothing to measure.
If you want to know the bandwidth limit of your LAN connection, ethtool will show you some value close to the actually available bandwidth.
If you want to know the bandwidth to/from your ISP, then you,ve to measure. DSL connections e.g. will always run on the highest bandwidth the telephone line supports. Any internet bandwidth limit is imposed by the ISP through traffic shaping, which can only be measured, by transmitting data.
repo
The only thing I can think of, is to look for the speed of the line in the router, My router connects at 12000 kbps, and gives me a download speed of 10500 kbps idem for upload Off course you need to download/upload something in order to see the actual speed. However, your speed is limited by the speed of the other site.
1PW
A chain is as weak as its weakest link.Your system could be connected to the fastest service money can buy. However, if the site you're downloading from is served by a lesser service, that is one of many impediments. Internet congestion is another.
Allen kistler
"ethtool -d
interface. (That is, a 1G card may be at 100M because that's what it negotiated with the switch.)
As others have pointed out, your speed to the switch is probably not your available bandwidth to any given server. The slowest link and the amount of congestion between client and server will dictate the effective bandwidth.
Neural OD
sudo apt-get install iftop
sanemanmad
Are you wanting to know your download speeds from the WWW, or from your Home LAN? If the first is the case then wget is probably accurate, however, you must take in account the network load or your routers capabilities. Try performing a speed test at a website that tests down/up speeds.
One way to be more precise, If you have cable or dsl, then you should be able to connect directly to the modem via cat5e and attempt wget.
perform a wget from a known website, ie, sourceforge, download.com.
Also GOOGLE is your friend, In my case I usually google what i am looking for ex (DWA-556 Atheros wireless card ubuntu) and it usually points here anyway
Neural -Od
wasn't thinking too clearly - sorry - I had discovered another tool a while ago that works great - bwm-ng. it's in the repos
ragestar
Heck,apt-get install iptraf
No comments:
Post a Comment