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:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi