Feature #490
closed
AF_Packet summary stats in stats.log
Added by Peter Manev over 12 years ago.
Updated over 8 years ago.
Description
Is it possible to print in stats.log also a summary of AFP..?
in other words just add the same values (for drops) but summarized for all the AF threads?
if we run 25 threads ...it is kind of messy to look at all the threads (AFP1 to 25) individually and confirm there are no drops....
- Status changed from New to Assigned
- Assignee set to Eric Leblond
- Target version set to 1.4
- Target version changed from 1.4 to 1.4beta2
- Priority changed from Normal to Low
- Assignee changed from Eric Leblond to Anoop Saldanha
- Target version changed from 1.4beta2 to 2.0rc2
I think currently the counters api doesn't support both individual counters and merged counters. So it's one or the other.
Actually thinking this ticket can be closed. All info is available, you can just create a little script to merge the counters.
- Target version changed from 2.0rc2 to 3.0RC2
It is possible as you say Victor just to add a small script to parse the logs and then be able to process the data elsewere as needed. But this design choice puts many users in the situation of creating lots of small scripts and reinventing the wheel again and again. The lack aggregated data can create large and "hard to handle" logs (say with 32 threads in AF_PACKET running).
This could possibally be set as an option in the stats configuration, eg: - aggregated: yes/no
- Target version changed from 3.0RC2 to 70
- Status changed from Assigned to Closed
- Assignee deleted (
Anoop Saldanha)
- Target version deleted (
70)
The current stats.log output gives totals, so aggregated stats, by default. Per thread logging can be enabled separately.
Also available in: Atom
PDF