[smokeping-users] Re: Owamp Probe creation question

Luc Moreault Luc.Moreault at vsnlinternational.com
Mon Jan 8 16:04:23 MET 2007


I would like to know where to tell in smokeping that the time base is "Milliseconds (ms)"
Because the graph i am getting so far is showing me the results in seconds.

What i feed Smokeping with is a table that look like that :

4.56
4.86
5.23
6.45
4.85

being a result (in ms) of a 5 time owping.

Thank you for your help once again.

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é : 7 janvier 2007 09:03
À : smokeping-users at list.ee.ethz.ch
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: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