Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request flow stats be restored #543

Open
fklassen opened this issue Feb 28, 2019 · 0 comments
Open

Request flow stats be restored #543

fklassen opened this issue Feb 28, 2019 · 0 comments
Assignees

Comments

@fklassen
Copy link
Member

From mailing list ...

I upgraded tcpreplay to 4.3.1 from 4.2.x and noticed that some of the statistics printed by tcpreplay have been removed.

Here is what I see in 4.3.1

tester@tcpreplay:~/tcpreplay-4.2.5$ sudo tcpreplay --intf1=eth1 --intf2=eth2 --cachefile=ie.cache ie_out.pcap
Actual: 16 packets (4989 bytes) sent in 15.12 seconds
Rated: 329.8 Bps, 0.002 Mbps, 1.05 pps
Statistics for network device: eth1
Successful packets: 9
Failed packets: 0
Truncated packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
Statistics for network device: eth2
Successful packets: 7
Failed packets: 0
Truncated packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0

In the 4.2.x the following was printed:

Actual: 12 packets (1020 bytes) sent in 0.165416 seconds
Rated: 6166.2 Bps, 0.049 Mbps, 72.54 pps
Flows: 2 flows, 12.09 fps, 8 flow packets, 4 non-flow
Statistics for network device: eth1
Successful packets: 5
Failed packets: 0
Truncated packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
Flows total: 1
Flows unique: 0
Flows expired: 0
Flow packets: 5
Non-flow packets: 0
Invalid flow packets: 0
Statistics for network device: eth2
Successful packets: 7
Failed packets: 0
Truncated packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
Flows total: 1
Flows unique: 0
Flows expired: 0
Flow packets: 3
Non-flow packets: 4
Invalid flow packets: 0

Getting non-flow statistics is useful for what we use tcpreplay for. Is it possible to get non-flow statistics in 4.3.1?

Thx

Regards,
Navneet


Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

@fklassen fklassen added this to To do in 4.3.2 via automation Mar 12, 2019
@fklassen fklassen self-assigned this Mar 12, 2019
@fklassen fklassen removed this from To do in 4.3.2 Mar 12, 2019
@fklassen fklassen added this to To do in 4.4 via automation Mar 12, 2019
@fklassen fklassen removed this from To do in 4.4 Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant