mirror of
https://github.com/skeeto/endlessh.git
synced 2025-12-09 22:45:36 +00:00
Tweak SIGUSR1 statistics totals logging
* Don't dynamically allocate the struct since that's not necessary. * Use a more concise log message. * Include current clients when counting the time. * Print final statistics message *after* closing all clients. * Don't include total connections in ACCEPT. * Mention SIGUSR1 in the new man page, too. Adjusts #24.
This commit is contained in:
@@ -70,9 +70,9 @@ If
|
||||
receives the SIGTERM signal it will gracefully shut
|
||||
down the daemon, allowing it to write a complete, consistent log.
|
||||
.Pp
|
||||
A SIGHUP signal requests
|
||||
.Nm
|
||||
a reload of its configuration file.
|
||||
A SIGHUP signal requests a reload of its configuration file.
|
||||
.Pp
|
||||
A SIGUSR1 signal will print connections stats to the log.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/endlessh/config -compact
|
||||
.It Pa /etc/endlessh/config
|
||||
|
||||
Reference in New Issue
Block a user