Ok, Thank Paolo.

--
Atenciosamente
Leonardo Augusto Sápiras
[http://www.leonardosapiras.com.br]


2012/10/29 Paolo Lucente <[email protected]>

> Hi Leonardo,
>
> With SQL plugins and MongoDB you have got stamp_inserted and stamp_updated
> fields - plus more recently (still in the CVS) the feature to include, as
> part of the table name, the value of sql_refresh_time and sql_history; with
> the print plugin you can achieve the same by specifying in the
> configuration
> 'print_markers: true'; with the memory plugin instead you have to keep
> track
> how often you query the table on your own: an idea is to query the table at
> regular intervals from crontab for stats (pmacct -s), erase (pmacct -e) and
> calculate step from the previous measurement (own script).
>
> Cheers,
> Paolo
>
> On Mon, Oct 29, 2012 at 06:32:05PM -0200, Leonardo S?piras wrote:
> >   Hi people,
> >
> >   Is there a way to get the packets' time with the 'pmacct -s' command?
>  I
> > only got it in the database through stamp_inserted and stamp_updated
> vars.
> >
> >
> >   Regards
> >
> > --
> > Atenciosamente
> > Leonardo Augusto S?piras
> > [http://www.leonardosapiras.com.br]
>
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to