From: Dale Ackerman Date: 2010-01-23T15:39:03+09:00 Subject: Re: Use Ruby to make a MTU sweep utility (Ping) Jonathan Nielsen wrote: > If you want to access stderr, look at the ruby api docs for popen3. > It's a little more complicated than the backticks but it'll get you > access to stderr. > > -Jonathan Nielsen No it looks like the back-ticks will be fine I have this in a loop results = `ping -s #{bytes} -c 1 -D #{host}` the code runs fine localhost and on my godaddy IP hoever it blows up on another site. But I am not confident I am doing this right so How can I tell if its my code or a valid black-hole MTU? Thanks -- Posted via http://www.ruby-forum.com/.