Quick tip for diagnosing traffic and network issues with the traceroute command.
I would’ve just tweeted this, but couldn’t quite do it justice with 140 (or whatever it is) characters.
Basically, the idea is that, if you have access to the server that you’re working with, you can connect via SSH and run traceroutes from the server itself. This is useful for comparing latency and other trends on the way to the client.
So for example, if web pages are loading sluggishly, try running a traceroute from your local machine (via Terminal or equivalent). That will provide data for the trip from your computer to the server. Then, open another instance of Terminal, connect to the server via SSH, and run a traceroute back to your machine. Doing so can be useful for situations where more information is needed for proper diagnosis.
Happy tracerouting! :)
Like our new Facebook Page to show support!