Hi there,

On Mon, 27 Apr 2020, Kreidenberg, Maximilian, 22D wrote:
G.W. Haywood wrote:
On Thu, 23 Apr 2020, Kreidenberg, Maximilian, 22D wrote:

we are using clamav in our production environment and we need to find
out how long a scan takes. ...

It depends very much on how you're scanning things.
... How are you scanning things?

... We are using ClamAV as a TCP/IP Socket Scanner. ...

Then you can simply send the scan output to a log, as in my example:

clamdscan /path/to/directory_to_be_scanned/ | logger -t 'ClamAV'

You can pipe the output from clamdscan through filters if you wish,
for example:

clamdscan /.../ | grep '\(Time\|Infected\)' | tee ... | logger ...

--

73,
Ged.

_______________________________________________

clamav-users mailing list
[email protected]
https://lists.clamav.net/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