[clamav-users] [ext] Re: Question regarding SIGUSR2 and clamd
Andreas Schulze
andreas.schulze at datev.de
Thu Mar 22 15:06:13 UTC 2018
Am 22.03.2018 um 13:40 schrieb Ralf Hildebrandt:
> * 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!
Just jeserdayI opened a feature request to have "clamdscan --ping" :-)
(https://bugzilla.clamav.net/show_bug.cgi?id=12062)
--
A. Schulze
DATEV eG
More information about the clamav-users
mailing list