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@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@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@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@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 : a...@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
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to