HomeFreeBSD

Add -M option to nc(1), which makes it print the TCP connection

Description

Add -M option to nc(1), which makes it print the TCP connection
statistics obtained with stats(3) in JSON format to standard error.

Reviewed by: allanjude, thj, cem (earlier version)
Tested by: thj
MFC after: 2 weeks
Relnotes: yes
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D21324

Details

Provenance
traszAuthored on
Reviewer
allanjude
Differential Revision
D21324: Add stats(3) support to nc(1)
Parents
rS355749: MFC r355247: Reduce disk write load in /usr/libexec/save-entropy.
Branches
Unknown
Tags
Unknown