[clamav-users] ClamAV scan time improvement
Arnaud Jacques
webmaster at securiteinfo.com
Tue Nov 8 18:20:07 UTC 2022
Hello,
Le 08/11/2022 à 19:02, Vijay Kumar Kamannavar via clamav-users a écrit :
> Hello Team,
>
> We are leveraging ClamAV agent for our vm's malware detection.
>
> we tried to scan a vm with 30GB used space and it took approx 1.30Hrs(we
> tried to capture certain file extensions to reduce number of files and
> passed file lists as arguments to clamdclient)
> Note:
> 1. we tried above test with 4 core 8GB vm
> 2. We tried clamdscan as below
>
> /bin/parallel -j 10 clamdscan -m --fdpass --no-summary --file-list
Why -j 10 if you have only 4 cores ?
If you want to scan /my_path directory and subdirectories, I suggest the
following :
find /my_path -type f | parallel clamdscan -mi --fdpass --no-summary {}
--
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
Signatures for ClamAV antivirus : http://ow.ly/LqfdL
More information about the clamav-users
mailing list