<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>I have a script I use in Perl that tests a list of hosts via the exit code of ping. &nbsp;Some hosts, like Winders, will ignore ICMP ECHO and this creates</div><div>false alerts.</div><div><br></div><div>The idea popped in my head today to use the exit code of nmap and allow it to test for me. &nbsp;</div><div><br></div><div>Can someone clue me in on the best command like options to nmap that will allow it to make a decent determination of a host is up?</div><div><br></div><div>I did think about running an initial port scan and then doing an accept() test on a TCP socket, but then I decided maybe I'd just let nmap make</div><div>the up/down decision.</div><div><br></div><div>Chris</div></div></body></html>