Command-Line Arguments

Top  Previous  Next

To launch Dr.Web SNMPD from the command line of the operating system, the following command is used:

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

Dr.Web SNMPD can process the following options:

Option

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-snmpd --help

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

Startup Notes

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

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

man 1 drweb-snmpd

 

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.