Linux: Testing upload speed

Posted on 2011-10-12
Last Modified: 2012-05-12
I created a 100 MB file like this:
dd if=/dev/zero of=test.bin bs=104857600 count=1

Open in new window

I want to test the upload speed of my server.  How and where can I send this file to test the upload speed of my server?
Question by:hankknight
    LVL 30

    Expert Comment

    by:Kerem ERSOY

    You need to have an external hosting account which supports FTP for this so that you can send and receive the file several times and you can calculate an average upload speed..

    LVL 29

    Assisted Solution

    if its same network

    then try using iperf  command

    from main server

    iperf -s

    from client

    iperf -c ip-of-server

    it will tell you appromixate transfer speed between  2 server

    or with netcat

    sent that one to another server by netcat .. it will tell you transfer speed
    LVL 16

    Author Comment

    How can I send a file in a POST request using cURL?
    LVL 30

    Accepted Solution

    Here's the CURL syntax:

     curl -d @test.bin URL-to-post

    But anyway the host must be accepting the file...


    Assisted Solution

    If you have another server on the same network, use scp to copy a big file and see the real time speed, plus average speed once the file is done.

    scp /var/1gbfile-name.txt ip.address.of.otherserver:/var/

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now