Hi,
I was wondering, how does Smokeping know if there are loss packets ?
Because i'm getting results from smokeping that tells me my Owamp probe got
19/20 packet lost.
Thank you very much,
Luc
-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Niko Tyni
Envoyé : 7 janvier 2007 09:03
À : [email protected]
Objet : [smokeping-users] Re: Owamp Probe creation question
On Fri, Jan 05, 2007 at 04:08:38PM -0500, Luc Moreault wrote:
> 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.
The open() function with a pipe ('|') executes the specified
command, and its output can be read from the opened filehandle.
See the perlfunc and perlipc manuals for details.
open(P, "$cmd 2>&1 |") or croak("fork: $!");
Cheers,
--
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
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi