clamscan 和 clamscan 之间的混淆

clamscan 和 clamscan 之间的混淆

clamscan -v如果我在 clamav-0.99.1 包下运行,它会显示

----------- SCAN SUMMARY -----------
Known viruses: 4297948
Engine version: 0.99.1
Scanned directories: 1
Scanned files: 39
Infected files: 0
Data scanned: 5.25 MB
Data read: 2.37 MB (ratio 2.22:1)
Time: 6.649 sec (0 m 6 s)

clamdscan -v如果我在 clamav-0.99.1 包下运行,它会显示

----------- SCAN SUMMARY -----------
Infected files: 52
Time: 1.936 sec (0 m 1 s)

如果我特别在 clamav-0.99.1/test 目录下运行,clamscan -v它会显示

----------- SCAN SUMMARY -----------
Known viruses: 4297948
Engine version: 0.99.1
Scanned directories: 1
Scanned files: 52
Infected files: 48
Data scanned: 14.52 MB
Data read: 6.94 MB (ratio 2.09:1)
Time: 8.117 sec (0 m 8 s)

并且clamdscan -v,它显示

----------- SCAN SUMMARY -----------
Infected files: 52
Time: 1.184 sec (0 m 1 s)

为什么会有这种差异?从超级目录和特定目录运行有关系吗?

为什么clamscan -v显示

Scanned files: 52
Infected files: 48

同时clamdscan -v始终显示

Infected files: 52

??

答案1

clamdscan在 中配置/etc/clamav/clamd.conf。它允许使用并行化来实现更快的扫描--multiscan,当然这会消耗更多的资源。

相关内容