[clamav-users] clamdscan: show clean files?
Arnaud Jacques
webmaster at securiteinfo.com
Mon Mar 13 15:20:54 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.
--
Cordialement / Best regards,
Arnaud Jacques
Gérant de SecuriteInfo.com
Téléphone : +33-(0)3.60.47.09.81
E-mail : aj at securiteinfo.com
Site web : https://www.securiteinfo.com
Facebook : https://www.facebook.com/pages/SecuriteInfocom/132872523492286
Twitter : @SecuriteInfoCom
Writing signatures for ClamAV antivirus since 2006
More information about the clamav-users
mailing list