How can I only scan the computer RAM for viruses using the ClamAV command clamscan?

I already tried, because I found it on ClamWin forum:

clamscan --memory

But it seems, that the Linux version does not have the argument --memory, because I can not find it in the help (clamscan --help or man clamscan).

If I try the command on Linux, I get:

~> clamscan --memory
clamscan: unrecognized option `--memory'
ERROR: Unknown option passed
ERROR: Can't parse command line options

I use Clam AntiVirus Scanner version 0.98.7.

  • Which version of ClamAV do you use? Maybe the version you have is just too old? Can you try with the most recent stable verion available for download on the official website? – lgeorget Apr 30 '16 at 13:00
  • 1
    my system has 0.99 installed and there is no such option for clamscan. i doubt that the newest version which is 0.99.1 has this option included. seems like this option is available for the windows version only – geruetzel Apr 30 '16 at 13:43

I just tested this in a docker container with an image of debian stretch.

The current stable version of Clamav for Linux is 0.99.1.
Source: https://www.clamav.net/

clamscan does not have such an option, I checked the manpage.

It seems that this option exists in the Windows version only.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.