Change log rate output

Dmitry Kurochkin dmitry.kurochkin at measurement-factory.com
Wed Jul 25 19:44:00 UTC 2012


Hi Erico.

Erico Augusto Cavalcanti Guedes <eacg at cin.ufpe.br> writes:

> Hello,
>
> during execution of experiments, log output is generated at every 7-9 seconds:
> 000.84| i-FirstRound  19740 293.03    337  54.68   0  100
> 000.92| i-FirstRound  21374 326.76    278  56.79   0  100
> 001.00| i-FirstRound  23061 337.44    310  58.68   0  100
> 001.09| i-FirstRound  25018 391.39    278  54.88   0  100
> 001.17| i-FirstRound  26994 395.21    267  57.95   0  100
> 001.25| i-FirstRound  28766 354.39    292  55.98   0  100
> 001.34| i-FirstRound  30734 393.61    261  57.77   0  100
> 001.42| i-FirstRound  32572 367.56    267  54.95   0  100
> 001.50| i-FirstRound  34631 411.80    236  55.80   0  100
> 001.59| i-FirstRound  36768 427.44    242  54.28   0  100
>
> Is there a way to customize log rate output ?
> I double checked man for pgserver and pgclient, without success.
>

You can stat cycle period using --stats_cycle option for
polygraph-client(1) and polygraph-server(1), e.g. --stats_cycle 10sec.
Default is 5sec.

Note that this option does not just control the console output.  It sets
interval stats period.  The less this period is, the more frequently
interval stats are collected.  Hence, more precise interval stats at
expense of larger binary log size.

Regards,
  Dmitry

> Thanks in advance,
>
> Erico.
> _______________________________________________
> Users mailing list
> Users at web-polygraph.org
> http://www.web-polygraph.org/mailman/listinfo/users



More information about the Users mailing list