How to use Ping and Traceroute Commands

"Ping" and "traceroute" are two common commands that can be executed to determine information about a hostname or IP address (like the IP address of your VPS). Ping will tell you if a server is online and responding, as well as the speed (latency) of the response:

1. Open a shell, either by logging into your VPS with SSH or by using a program like Terminal or, for Windows, Putty.

2. Type the following, replacing 127.0.0.1 with the destination IP (or domain name):

 

# ping 127.0.0.1

 

A traceroute, appropriately, traces the route taken from your local machine (wherever the traceroute is executed from) to the destination host:

 

# traceroute 127.0.0.1

  • payment
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What happens when a VPS reaches its bandwidth limit?

If your VPS exceeds its bandwidth limit, our system will automatically suspend the service. You...

OpenVZ or Xen VPS - Which is faster, and which is better?

The question is often asked whether OpenVZ or Xen, two of the most common hypervisors in VPS web...

How to Check CPU Info with SSH on Linux VPS

To check the CPU allocation and information on your VPS, simply log in to SSH as root, and run...

Basic iptables Usage & Commands

Iptables is a program that allows you to configure Linux's built-in firewall. By default, no...

Do I need a VPS? (Shared vs. VPS Hosting)

We often hear the question, "do I need a VPS?" Whether you are looking to upgrade from Shared...