[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Duration for one round of server side module
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Duration for one round of server side module
- From: Asif Iqbal <vadud3 (at) gmail.com>
- Date: Thu, 14 May 2009 18:53:49 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=L4ZaROIr0qmG9l2f1bq6N9C89jHMagxpXWhezN3XtiU=; b=gSaHGovYxA3c3e6qyKdHKnJ4bgfE+OYDkE6/Ml/6r/U8VUUw81bLLjbNaiQuG5IPxt tNA51RzdWqph9e2l/QKSUl/4/gy2VPrbmZrZKUDn4eVOIsyNt7LjgqLX3S/iy8FtlsHn SbjMv1w/DnGRUI1arKGVShtBxQVGRb/+FIq4k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Jux4tXIkB/U31ftB/XIc/CaxU0+9MydMOKj21rfv8S+Aj9kNXDailK640htSRigx4b kIAYlr+c3d7QLDbhFrDB++B/4Ndeaoe8clYIPz4/KHpxyE0lF/DFIc63ieB6BgH/a3lv LSulYZJLQQ8QOBB4veHCQjaPC+yQs3ajtWBmQ=
- References: <a60f25fc0905141141xb5a9224pb3abdb10bbcea3fc (at) mail.gmail.com> <997a524e0905141209x291e9cb5ua84c320909ecdcbd (at) mail.gmail.com> <a60f25fc0905141239x605ba5a5yc510456960c6894f (at) mail.gmail.com> <997a524e0905141529g4797a08crefd1143667e0ce7b (at) mail.gmail.com>
On Thu, May 14, 2009 at 6:29 PM, Ralph Mitchell <ralphmitchell (at) gmail.com>wrote:
> On Thu, May 14, 2009 at 2:39 PM, Asif Iqbal <vadud3 (at) gmail.com> wrote:
>
>>
>>
>> On Thu, May 14, 2009 at 3:09 PM, Ralph Mitchell <ralphmitchell (at) gmail.com>wrote:
>>
>>> Maybe I'm missing something, but... Why not just grab the system
>>> date/time at the start, again at the end, then subtract one
>>
>>
>> How do I know the end? The clients are constantly feeding data to
>> hobbitd_channel and they may not be coming
>> in sequential order. I may receive data from one host twice who is right
>> next to hobbit server before I receive
>> client data for another host which is in different country
>>
>
> Looking at the ssmodule sample program, I think I would pick up the start
> and end time in the 'processmessage' routine. The hostname gets passed
> through to that routine, so you could log a timestamp, the hostname and the
> duration for each host.
>
But that won't still tell the completion of first round of all hosts or if
any hosts' data been feed more than once while another host data has not
arrived yet
I am guessing using clientlog to pull the data would be simpler. That will
give me definite answer of how long it took to collect data of each host (in
miliseconds) and how long it took to rotate through
all the hosts.
I wish I could get those info from this server side perl script, but I doubt
that is logically possible
given this scenario.
>
> Ralph Mitchell
>
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?