mirror of
https://repo.or.cz/socat.git
synced 2025-06-24 16:58:44 +00:00
Output statistics per option and SIGUSR1
This commit is contained in:
parent
2af6089436
commit
c2196d6f15
17 changed files with 304 additions and 26 deletions
doc
15
doc/socat.yo
15
doc/socat.yo
|
@ -223,6 +223,11 @@ label(option_4)dit(bf(tt(-4)))
|
|||
label(option_6)dit(bf(tt(-6)))
|
||||
Use IP version 6 in case that the addresses do not implicitly or explicitly
|
||||
specify a version.
|
||||
label(option_statistics)dit(bf(tt(--statistics)))
|
||||
Logs transfer statistics (bytes and blocks counters for both directions)
|
||||
before terminating Socat.nl()
|
||||
See also link(signal USR1)(signal_usr1).nl()
|
||||
This feature is experimental and might change in future versions.
|
||||
enddit()
|
||||
|
||||
|
||||
|
@ -4057,6 +4062,16 @@ manpagefiles()
|
|||
/usr/bin/procan
|
||||
|
||||
|
||||
label(SIGNALS)
|
||||
manpagesection(SIGNALS)
|
||||
|
||||
description(
|
||||
label(signal_usr1)dit(SIGUSR1:) Causes logging of current transfer statistics.
|
||||
nl()
|
||||
See also link(option --statistics)(option_statistics)
|
||||
)
|
||||
|
||||
|
||||
label(ENVIRONMENT_VARIABLES)
|
||||
manpagesection(ENVIRONMENT VARIABLES)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue