antivirus manual-scan
Searches the specified directory for malware and viruses.
Example
kusanagi-standalone antivirus manual-scan --log /tmp/manual-scan.log /home/kusanagi/
Note: This command must be run inside kusanagi‑standalone.
Options
Malware/Virus Scan Results Log File
[--log LOG]
Default: /var/opt/kusanagi/log/clamav/kusanagi-manual-scan-YYYYmmdd-HHMMSS(current date and time).log
Specify the Malware/Virus Scan Results Log File.
Directory to be Scanned for Malware/Viruses (Required)
target_path
Specify the Directory to be Scanned for Malware/Viruses.
Output
# kusanagi-standalone antivirus manual-scan --log /tmp/manual-scan.log /home/kusanagi/
Thu Apr 17 10:19:16 2025 -> ClamAV update process started at Thu Apr 17 10:19:16 2025
Thu Apr 17 10:19:16 2025 -> daily database available for update (local version: 27609, remote version: 27610)
Thu Apr 17 10:19:18 2025 -> Testing database: '/var/opt/kusanagi/lib/clamav/tmp.a5686d4827/clamav-480cb7766c598a080a525bc4220063b1.tmp-daily.cld' ...
Thu Apr 17 10:19:27 2025 -> Database test passed.
Thu Apr 17 10:19:27 2025 -> daily.cld updated (version: 27610, sigs: 2074552, f-level: 90, builder: raynman)
Thu Apr 17 10:19:27 2025 -> main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
Thu Apr 17 10:19:27 2025 -> bytecode.cvd database is up-to-date (version: 336, sigs: 83, f-level: 90, builder: nrandolp)
----------- SCAN SUMMARY -----------
Known viruses: 8706325
Engine version: 1.0.8
Scanned directories: 382
Scanned files: 3513
Infected files: 0
Data scanned: 167.23 MB
Data read: 77.33 MB (ratio 2.16:1)
Time: 75.114 sec (1 m 15 s)
Start Date: 2025:04:17 10:19:27
End Date: 2025:04:17 10:20:42
antivirus completed.