New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to check connectivity / network speed of a VPS???
hybridized
Member
As the title suggests, I'd like to know the exact command for Centos 5 which would tell me the internet speed of my VPS. If possible like a command which would run the test by downloading a file but doesn't save it.
Thanks
Comments
mail [email protected] ??
Seriously. That's a setting your provider sets up. You'll have to test it and you're not going to get an exact number every time you run the test.
to delete it, can't you save the file to /dev/null?
How is that a setting? Isn't there a test / benchmark to check how fast my VPS downloads a file from the internet?
Something like "wget -O /dev/null http://cachefly.cachefly.net/100mb.test && rm -rf 100mb.test" but I don't want it to save the file it downloads.
Which speed are you referring to? The connection it has, the speed of data transferred from foreign servers? The latter depends on the network the provider does not have any access to. The first is something your provider only knows.
What you only can do is download files and measure the speed via the programm you download files with. But this does not give you any exact data as it depends where you download your stuff from.
If you use
wget -O /dev/null - http://cachefly.cachefly.net/100mb.test
it will not save anything. But again, you are not checking the exact speed of your vps. You are just checking how the speed is for the link between your vps and the server you download from and the servers/routers in between.Wouldn't it be "wget http://cachefly.cachefly.net/100mb.test >> /dev/null" ?
I can't do a ssh connection from here so I have no way of testing.
Well how can I test if my VPS has 10 Mbits or 100 Mbits or even 1 Gbits connection? That's my main question You know how many hosts advertise this spec?
That will first download the file and save it to 100mb.test and then put it to /dev/null.
As stated and explained before you can't do that exactly.
But by downloading a file through the above mentioned command and getting a speed like 12 MB/s would give us an idea or no?
Hmmm, actually there is a method. Hold on a sec.
I'm looking at this tutorial on how to pull up data about your network connection but I don't see anything about the card's actual speed:
http://www.cyberciti.biz/faq/howto-configuring-network-interface-cards-on-debian/
For me though, it does confirm that my network card is eth0. Since I know that, I would be able to do a:
but that's just returning a blank result for me.
edit: Forgot to give the link for that command:
http://linuxhelp.blogspot.com/2005/10/find-speed-of-your-ethernet-card-in.html
if you know somebody on different node in same dc use wget command with there permission to download that would give you clearer indication of port speed as opposed to wget to different dc.
But the card's speed does not indicate how fast you can download, i.e. I've a 1GBit/s card but my DSL is just 16MBit. It would show 1Gbit/s.
As long as the node is not in use by other customers.
That you need to ask you host about. If they restrict you to a max speed or a percentage of the available bandwidth, that's a setting that they have done.
edit: Forgot to mention that it appears that I'm locked out of getting any setting from the eth0 card. i guess that's why it's returning a blank result on the lookups that I'm doing.
True but even it were it would give clearer indication then going out of the d/c to pull something in.
That and the fact that you share the node with other customers and the fact that the files you want to download are on a server that shares the line with others plus the fact that the routing might be quite crowded.
Thats right. Because you don't have the hassle with the external routing et al.
@drmike
20 MB/s is 160mbps.
@dmmcintyre3 what are you running? I'm on Xen and it just goes to the next prompt. When I do a:
it just comes back with a "Link detected: yes"
@hybridized -- the command you're looking for to speedtest but not save the download is:
wget -O - http://216.189.8.153/100mb.test > /dev/null
This redirects the downloaded file to sdtout, then captures that output and 'saves' it to /dev/null. The only output will be the download speed.
Dave
@drmike It's my KVM VPS.
To test download speed see this thread: http://www.lowendtalk.com/discussion/112/test-your-vps-network-connection/
No, I think they are talking about verify the real link speed of your VPS. And I am afraid that you can't n_n
Rrrright :-)
Thanks for the replies guys