Add -M option to nc(1), which makes it return TCP connection
statistics obtained with stats(3) to standard error.
Sponsored by: Klara, Inc
Differential D21324
Add stats(3) support to nc(1) trasz on Aug 19 2019, 4:56 PM. Authored by Tags None Referenced Files
Details
Add -M option to nc(1), which makes it return TCP connection Sponsored by: Klara, Inc
Diff Detail
Event Timeline
Comment Actions IMO the flag should be present either way, but WITHOUT_STATS it should errx().
Comment Actions Fix most of the problems pointed out by cem@. There's still a problem
Comment Actions I get inconsistent results for TXPB, you can see this with the test script here: Allan suggested adding a 100ms usleep to the start of FreeBSD_stats_print which |