Project

General

Profile

Actions

Feature #490

closed

AF_Packet summary stats in stats.log

Added by Peter Manev over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Target version:
-
Effort:
Difficulty:
Label:

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....

Actions #1

Updated by Victor Julien over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Eric Leblond
  • Target version set to 1.4
Actions #2

Updated by Victor Julien over 10 years ago

  • Target version changed from 1.4 to 1.4beta2
Actions #3

Updated by Victor Julien about 10 years ago

  • Priority changed from Normal to Low
Actions #4

Updated by Victor Julien about 10 years ago

  • 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.

Actions #5

Updated by Victor Julien over 9 years ago

Actually thinking this ticket can be closed. All info is available, you can just create a little script to merge the counters.

Actions #6

Updated by Victor Julien almost 9 years ago

  • Target version changed from 2.0rc2 to 3.0RC2
Actions #7

Updated by Andreas Moe over 8 years ago

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

Actions #8

Updated by Victor Julien over 7 years ago

  • Target version changed from 3.0RC2 to 70
Actions #9

Updated by Victor Julien over 6 years ago

  • 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.

Actions

Also available in: Atom PDF