Using ClamAV AntivirusBack to documentation index
ClamAV® Antivirus on POD
POD provides access to the ClamAV open source antivirus engine for detecting trojans, viruses, malware and other malicious threats. Users can scan files, directories and even whole directory trees on demand. More information can be found on the ClamAV website.
POD administrators keep the virus database up to date so all users have to do is scan any files or directories that they wish.
ClamAV may flag harmless files as infected. If you find any infected files, please notify email@example.com. We can check to see if you indeed have an infected file or if ClamAV has generated a false positive.
Here is an example of scanning the current working directory. This example uses the -i switch to tell clamscan to only print the names of infected files rather than all files it scans.
$ module load clamav $ clamscan -i ----------- SCAN SUMMARY ----------- Known viruses: 6298901 Engine version: 0.99.2 Scanned directories: 1 Scanned files: 39 Infected files: 0 Data scanned: 1.27 MB Data read: 1.00 MB (ratio 1.27:1) Time: 13.835 sec (0 m 13 s)
To scan a single file, just tell clamscan which file to scan:
$ module load clamav $ clamscan Makefile Makefile: OK ----------- SCAN SUMMARY ----------- Known viruses: 6298901 Engine version: 0.99.2 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.03 MB Data read: 0.02 MB (ratio 2.00:1) Time: 13.147 sec (0 m 13 s)
To scan all files and subdirectories in your home directory
$ module load clamav $ clamscan -r $HOME
To lean more about clamscan one can visit the ClamAV website listed above, or read the manual page on POD.
$ man clamscan