[smokeping-users] Re: Owamp Probe creation question

Niko Tyni ntyni+smokeping-users at mappi.helsinki.fi
Fri Jan 5 20:48:41 MET 2007


On Fri, Jan 05, 2007 at 02:36:04PM -0500, Luc Moreault wrote:
> First of all, thanks for the hint Niko, I worked around the skel.pm module and i'm almost done with it.
> I only need to parse my output in the array. I understand the skel.pm code almost in all its integrity but one line (which gives me a compile time error).
> 
> open(P, $cmd 2>&1 |") or croak("fork:$!); #What is the $cmd variable ?

That's the actual command line that's going to be executed, supposedly
glued together from the probe and target variables. Something like
(as a made-up example)

 my $cmd = "$binary -w $weight -c $count $target->{addr}";

The skel.pm module is indeed missing this; I'll add it for the next release.

Hope this helps,
-- 
Niko

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list