sudo clamscan -r -i /etc --max-dir-recursion=5 -l /var/log/clamav-etc.log --removesudo clamscan -r -i /bin --max-dir-recursion=5 -l /var/log/clamav-bin.log --remove sudo clamscan -r -i /usr --max-dir-recursion=5 -l /var/log/clamav-usr.log --removesudo clamscan -r -i /var --max-dir-recursion=5 -l /var/log/clamav-var.log --remove
默认的centos系统,重点目录,扫描时间:/etc目录耗时3分钟╰─➤ sudo clamscan -r -i /etc --max-dir-recursion=5 -l /var/log/clamav-etc.log --remove 20 ↵----------- SCAN SUMMARY -----------Known viruses: 8658192Engine version: 0.103.8Scanned directories: 381Scanned files: 1410Infected files: 0Data scanned: 43.68 MBData read: 36.62 MB (ratio 1.19:1)Time: 164.239 sec (2 m 44 s)Start Date: 2023:03:17 19:45:42End Date: 2023:03:17 19:48:26
/bin目录耗时2分钟╰─➤ sudo clamscan -r -i /bin --max-dir-recursion=5 -l /var/log/clamav-bin.log --remove----------- SCAN SUMMARY -----------Known viruses: 8658192Engine version: 0.103.8Scanned directories: 1Scanned files: 1814Infected files: 0Data scanned: 379.08 MBData read: 363.75 MB (ratio 1.04:1)Time: 104.476 sec (1 m 44 s)Start Date: 2023:03:17 20:05:04End Date: 2023:03:17 20:06:49
/usr目录耗时45分钟╰─➤ sudo clamscan -r -i /usr --max-dir-recursion=5 -l /var/log/clamav-usr.log --remove----------- SCAN SUMMARY -----------Known viruses: 8658192Engine version: 0.103.8Scanned directories: 6974Scanned files: 106949Infected files: 0Data scanned: 6112.55 MBData read: 4454.56 MB (ratio 1.37:1)Time: 2194.382 sec (36 m 34 s)Start Date: 2023:03:17 20:08:11End Date: 2023:03:17 20:44:45
/var目录耗时2分钟╰─➤ sudo clamscan -r -i /var --max-dir-recursion=5 -l /var/log/clamav-var.log --remove----------- SCAN SUMMARY -----------Known viruses: 8658192Engine version: 0.103.8Scanned directories: 473Scanned files: 574Infected files: 0Data scanned: 196.09 MBData read: 783.41 MB (ratio 0.25:1)Time: 83.998 sec (1 m 23 s)Start Date: 2023:03:17 20:49:02End Date: 2023:03:17 20:50:26
(图片来源网络,侵删)
0 评论