Command-Line Arguments

Top  Previous  Next

To run Dr.Web LookupD, type the following command in the command line:

$ <opt_dir>/bin/drweb-lookupd [<parameters>]

Dr.Web LookupD can process the following parameters:

Parameter

Description

--help

Function: Instructs to output short help information about command-line parameters to the console or to the terminal emulator and to exit upon completion.

Short form: -h

Arguments: None.

--version

Function: Instructs to output information about the version of this component to the console or to the terminal emulator and to exit after completion.

Short form: -v

Arguments: None.

Example:

$ /opt/drweb.com/bin/drweb-lookupd --help

This command outputs short help information about Dr.Web LookupD.

Startup Notes

The component cannot be launched directly from the command line of the operating system in an autonomous mode (autonomously from other components). It is launched automatically by the configuration daemon Dr.Web ConfigD when it is required. To manage the operation of the Dr.Web LookupD component, you can use the command-line-based management tool for Dr.Web for UNIX (it is called by using the drweb-ctl command).

To request documentation about this component of the product from the command line, use the following command:

man 1 drweb-lookupd

 

Convention for paths to product files

The product described in the present document is designed for operation in different UNIX-based operating system. Real paths to product files depend on the operating system installed on the user’s computer. For notational convenience, the following conventions are used:

<opt_dir>—directory where main product files are located (including executable files and libraries).

<etc_dir>—directory where the configuration file and a key file are located.

<var_dir>—directory where supporting and temporary product files are located.

Real paths corresponding to the conventions in different operating systems are given in the table below.

Operating System

Convention

Real path

GNU/Linux

<opt_dir>

/opt/drweb.com

<etc_dir>

/etc/opt/drweb.com

<var_dir>

/var/opt/drweb.com

FreeBSD

<opt_dir>

/usr/local/libexec/drweb.com

<etc_dir>

/usr/local/etc/drweb.com

<var_dir>

/var/drweb.com

Solaris

<opt_dir>

The paths are the same as for GNU/Linux.

<etc_dir>

<var_dir>

For space considerations, examples given in the present document use paths for GNU/Linux operating systems. In some places of the document, where it is possible, examples contain real paths for all of the operating systems.