[smokeping-users] Re: Owamp Probe creation question
Luc Moreault
Luc.Moreault at vsnlinternational.com
Fri Jan 5 22:08:38 MET 2007
Indeed, it helps a lot.
If I might ask, where is the $cmd variable actually executed ?
I have putted it in the pingone subroutine but as I analyse the code, it seems like the parsing is actually done only on the $cmd variable string.
Regards,
Luc
-----Message d'origine-----
De : smokeping-users-bounce at list.ee.ethz.ch
[mailto:smokeping-users-bounce at list.ee.ethz.ch]De la part de Niko Tyni
Envoyé : 5 janvier 2007 14:49
À : smokeping-users at list.ee.ethz.ch
Objet : [smokeping-users] Re: Owamp Probe creation question
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
--
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