[clamav-users] [ext] Re: Question regarding SIGUSR2 and clamd
Ralf Hildebrandt
Ralf.Hildebrandt at charite.de
Thu Mar 22 12:40:52 UTC 2018
* Maarten Broekman <maarten.broekman at gmail.com>:
> You might be able to open the socket that clamd is listening on and attempt
> to ping it. I forget if it replies with PONG while it's in the middle of
> reloading. It's been a while since I tried to do that.
Thanks:
# echo PING | socat - /var/run/clamav/clamd.ctl
PONG
# echo RELOAD | socat - /var/run/clamav/clamd.ctl
RELOADING
# echo PING | socat - /var/run/clamav/clamd.ctl
<nothing>
# echo PING | socat - /var/run/clamav/clamd.ctl
PONG
Yeah!
--
Ralf Hildebrandt Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de Campus Benjamin Franklin
https://www.charite.de Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20180322/6b3a557b/attachment.sig>
More information about the clamav-users
mailing list