* 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!

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebra...@charite.de        Campus Benjamin Franklin
https://www.charite.de             Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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