Ping utility that targets a specific port

Frequently I reboot servers and while I wait for them to come back up, I ping them to see when they are "back up" However, even after I receie a positive ping response back from the server, it still takes a while before SSH is initialized.

I wrote my own python-based ping utility that allows one to ping a specific port on a remote host. The utility has three modes: (1) One time, (2) Infinite, and (3) Set number of times.

 ./ hostname port #(one time)
./ hostname port -n inf #(indefinitely)
./ hostname port -n num #(num times)

(NB: I'm still in the process of cleaning this up and making it pretty. In the future, I am considering making it mimic the standard GNU ping utility's syntax.)



Popular posts from this blog

Using Audacity as an Oscilloscope

Using Google Command Line Tools to post my Computer Systems Notes

Store Script Passwords Securely in Mac OS X