|
|
Check server status remotely with a perl script
why reinvent the wheel?
Check server status remotely with a perl script
Pete, I appreciate your pointing to a standard UNIX utility to do this work, but your post reeks of programmer's laziness. Not only do you refer everyone to the "man" page for nc, but you provide no further details.
Check server status remotely with a perl script
i didn't interpret the previous post with any sort of hostility or "programmer's laziness," as you did.
Check server status remotely with a perl script
Thank you foilpan for your additional information on the usage of
nc. Although I looked up the man page, it was not instantly clear to me, that this can be done so easily.
You can also set the timeout with the -w option. This is useful to me, since I don't want to wait a minute or so until netcat aborts.
left out stuff
you failed to mention that after you do nc whatever.com 80 you have to do
Check server status remotely with a perl script
Doing nc and adding an extra -v or 2 for verbosity...i.e.
nc -vvvz 192.168.1.1 1-80results in some pretty decent info. You get something like the following:
(UNKNOWN) [192.168.1.1] 80 (http) open
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|