To run the scan engine Dr.Web Scanning Engine from the command line, type the following command:
where the mandatory <socket> argument indicates the address of the socket used by Dr.Web Scanning Engine for processing requests of the client components. It can be set only as a file path (UNIX socket).
Dr.Web Scanning Engine can process the following options:
This command starts an instance of the Dr.Web Scanning Engine scan engine, creates the /tmp/drweb.ipc/.se UNIX socket for the interaction with the client components and limits the number of child scanning processes to 5.
When necessary, any number of instances of the Dr.Web Scanning Engine scan engine can be started. The instances provide the scanning service for client applications (not only for the Dr.Web for UNIX Mail Servers components). At that, if a value of the FixedSocketPath parameter is specified in the component configuration, one instance of the scan engine is always running by the Dr.Web ConfigD configuration daemon and is always available for the clients via this UNIX socket. The instances of the scan engine started directly from the command line, will operate in an autonomous mode without establishing connection to the configuration daemon, even if it is running. To manage the operation of the component, as well as to scan files when needed, you can use the Dr.Web Ctl command-line-based management tool for Dr.Web for UNIX Mail Servers (it is launched by using the drweb-ctl command).
To scan an arbitrary file or directory using Dr.Web Scanning Engine you can use rawscan command of Dr.Web Ctl tool: