Re: [clamav-users] [ext] Re: Question regarding SIGUSR2 and clamd
Am 22.03.2018 um 13:40 schrieb Ralf Hildebrandt: > * Maarten Broekman : >> 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 > > # 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
Re: [clamav-users] [ext] Re: Question regarding SIGUSR2 and clamd
* Maarten Broekman : > 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 # echo PING | socat - /var/run/clamav/clamd.ctl PONG Yeah! -- Ralf Hildebrandt Charite Universitätsmedizin Berlin ralf.hildebra...@charite.deCampus Benjamin Franklin https://www.charite.de Hindenburgdamm 30, 12203 Berlin Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 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