Ding - an M$ style of wrapper for Ping

Configuration wizards, scanners, remote desktop, etc.
Post Reply
Message
Author
jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

Ding - an M$ style of wrapper for Ping

#1 Post by jafadmin »

Over the years I've gotten used to a particular functionality of the M$ version of ping.

You can run it on a machine and watch from across the room and see the results just by the pattern created on the console by the output. This can come in handy in troubleshooting in commercial situations, especially while dealing with telco's while on the phone, etc ...

The Unix/linux ping is a more versatile diagnostic tool, but doesn't have the crude monitoring capability of the M$ version which I've grown to appreciate.

So I made this script wrapper that will create that similar type of functionality.

Ding does the following things:
1) Reports a live host
2) Reports a "request time out"
3) Upon exit reports percentage of packet loss

I have designed it so that it doesn't create a static image on screen if successfully pinging. Every 20 pings it elongates an output so that on a standard 25 line screen there is always an irregular shaped line scrolling up the screen. RTO's will stay static on the screen, but that's desirable.

Cheers,

jafa
Attachments
ding.tar.gz
(1020 Bytes) Downloaded 387 times

Post Reply