Am 22.03.2018 um 13:40 schrieb Ralf Hildebrandt:
> * Maarten Broekman <maarten.broek...@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
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to