> ## Documentation Index
> Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Run a Speedtest

> Test your VPS network speed from the command line

A speed test measures your server's network performance, including download and upload speeds.

<Info>
  **Prerequisites**

  * A VPS with OnetSolutions
  * SSH access to your server
</Info>

## Installation and Usage

<Tabs>
  <Tab title="Debian/Ubuntu">
    <Steps>
      <Step title="Download speedtest-cli">
        ```bash theme={null}
        wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
        chmod +x speedtest-cli
        ```
      </Step>

      <Step title="Run the test">
        ```bash theme={null}
        ./speedtest-cli
        ```
      </Step>
    </Steps>
  </Tab>

  <Tab title="CentOS/Rocky/Alma">
    <Steps>
      <Step title="Install speedtest">
        ```bash theme={null}
        curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.rpm.sh | sudo bash
        sudo yum install speedtest
        ```
      </Step>

      <Step title="Run the test">
        ```bash theme={null}
        speedtest
        ```
      </Step>
    </Steps>
  </Tab>
</Tabs>

## Understanding Results

| Metric             | Description                                         |
| ------------------ | --------------------------------------------------- |
| **Download Speed** | Rate of data transfer from internet to your server  |
| **Upload Speed**   | Rate of data transfer from your server to internet  |
| **Ping/Latency**   | Time for data to travel to the test server and back |

<Tip>
  * Higher download/upload speeds indicate faster connections
  * Lower latency is better for real-time applications
  * Run multiple tests at different times for accurate results
</Tip>

<Note>
  Speed test results are indicative and may vary based on server load, time of day, and test server location.
</Note>
