[clamav-users] clamdscan: show clean files?

Damian clamav-users at arcsin.de
Mon Mar 13 15:31:40 UTC 2023


> Le 13/03/2023 à 15:39, Damian via clamav-users a écrit :
>>> Faster with parallel command :
>>>
>>> find /tmp/files -type f |parallel clamdscan --no-summary {} 
>>
>> Cannot confirm:
>>
>>> bench at sigil:/$ time find /usr/share/doc/texinfo -type f | parallel 
>>> clamdscan --fdpass --no-summary {} | tail -n 2
>>> /usr/share/doc/texinfo/AUTHORS: OK
>>> /usr/share/doc/texinfo/NEWS.Debian.gz: OK
>>>
>>> real    0m4,241s
>>> user    0m3,101s
>>> sys 0m3,324s
>>> bench at sigil:/$ time find /usr/share/doc/texinfo -type f -exec 
>>> clamdscan --fdpass --no-summary {} + | tail -n 2
>>> /usr/share/doc/texinfo/AUTHORS: OK
>>> /usr/share/doc/texinfo/NEWS.Debian.gz: OK
>>>
>>> real    0m0,299s
>>> user    0m0,015s
>>> sys 0m0,033s
>>> bench at sigil:/$ time find /usr/share/doc/texinfo -type f | parallel 
>>> clamdscan --fdpass --no-summary {} | tail -n 2
>>> /usr/share/doc/texinfo/AUTHORS: OK
>>> /usr/share/doc/texinfo/NEWS.Debian.gz: OK
>>>
>>> real    0m4,273s
>>> user    0m3,222s
>>> sys 0m3,513s
>>> bench at sigil:/$ time find /usr/share/doc/texinfo -type f -exec 
>>> clamdscan --fdpass --no-summary {} + | tail -n 2
>>> /usr/share/doc/texinfo/AUTHORS: OK
>>> /usr/share/doc/texinfo/NEWS.Debian.gz: OK
>>>
>>> real    0m0,343s
>>> user    0m0,004s
>>> sys 0m0,047s
> 
> 
> Disk cache hits.

No, that's why I interleaved two runs each.


More information about the clamav-users mailing list