Q. Dear Mr. Know-It-All,
In OS/2, how do I ping an Internet site?
The PING program basically tells you how quickly a site is responding.
Its a good way to test a site for delays.
Open an OS/2 window.
The PING program is on the path (its in \mptn\bin\ and theres
also a version in \tcpip\dos\bin\); type PING -? at the command prompt for
cryptic instructions, or simply type PING plus the domain you want to check.
For example, to see the delay on SCOUGs site, type PING WWW.SCOUG.COM
and watch the timings scroll by.
Use Ctrl-C to stop the timings and get a summary.
If you find a site with a slower-than-average response time, dont
immediately blame that site.
It could be you, not them, or somebody in between.
For example, if you check sites which happen to be hosted by your own ISP
(Internet Service Provider), or an ISP that is being served by or is serving
your ISP, the times will likely be lower (faster) than if you check a site
that is farther away, so to speak.
The time isnt necessarily being consumed by the other guys
server, or even his ISP; youd be surprised at the route which those
data packets travel in order to reach your machine.
Its not unusual to have 10 or 20 nodes along the route, and any one of
them could be the source of the slowness.
If you really like to play, youll want to run TRACERTE.
Theres a version that comes with OS/2 (its in \TCPIP\BIN, and on
the path), or you can go to Hobbes
(http://hobbes.nmsu.edu) and search for,
download and unzip the TRACERTE that appears there.
Run it with no parameters for syntax, or just run TRACERTE WWW.SCOUG.COM, for
Youll get a list of the points between you and your destination
#1 is the first point, #2 is the second point, etc.
The Hobbes version is more educational because the source code is included;
read the beginning of it for the equivalent of a README file.
Curious or in doubt, ask Mr. Know-It-All.
He gets email at MrKIA@SCOUG.COM.
Mr. Know-It-All lives in Southern California.
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 1998 the Southern California OS/2 User Group. ALL RIGHTS
SCOUG is a trademark of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.