easy parsing mode in perfdhcp
as for today perfdhcp is generating a lot of output when using -t mode e.g:
Running: perfdhcp -4 -p 7 -R 20000000 -r 1514 -l eno3 -t 1
Scenario: basic.
Multi-thread mode enabled.
sent: 1513/1513; received: 1513/1512; drops: 0/1; rejected: 0/0
sent: 3027/3027; received: 3027/3026; drops: 0/1; rejected: 0/0
sent: 4541/4541; received: 4541/4540; drops: 0/1; rejected: 0/0
sent: 6056/6055; received: 6055/6054; drops: 1/1; rejected: 0/0
sent: 7570/7569; received: 7569/7568; drops: 1/1; rejected: 0/0
sent: 9084/9083; received: 9083/9083; drops: 1/0; rejected: 0/0
***Rate statistics***
Rate: 1513.44 4-way exchanges/second, expected rate: 1514
***Statistics for: DISCOVER-OFFER***
sent packets: 10597
received packets: 10597
drops: 0
drops ratio: 0 %
orphans: 0
rejected leases: 0
min delay: 0.159 ms
avg delay: 0.236 ms
max delay: 7.737 ms
std deviation: 0.278 ms
collected packets: 0
***Statistics for: REQUEST-ACK***
sent packets: 10597
received packets: 10596
drops: 1
drops ratio: 0.009 %
orphans: 0
rejected leases: 0
min delay: 0.335 ms
avg delay: 0.459 ms
max delay: 8.015 ms
std deviation: 0.232 ms
collected packets: 0
my goal is to add new option that would cause generating data that would be super easy to parse and generate charts, e.g:
1513 1513 1513 1512 0 1
3027 3027 3027 3026 0 1
4541 4541 4541 4540 0 1
6056 6055 6055 6054 1 1
7570 7569 7569 7568 1 1
9084 9083 9083 9083 1 0
Edited by Wlodzimierz Wencel