Command Line Parameters

As any UNIX program, NSS Daemon supports command line parameters. You can use the following command to run NSS Daemon:

drweb-nss [<parameters>] <Agent_socket>

where:

parameters are optional command line parameters;

agent_socket is the socket through which Dr.Web for Novell Storage Services modules receive configuration from Dr.Web Agent.

In the current version, Dr.Web for Novell Storage Services supports the following command line parameters:

Short case

Extended case

Arguments

-h

--help

 

Description: Show information about supported command line parameters on the screen and exit

 

-v

--version

 

Description:  Show NSS Daemon version on the screen and exit

 

-l

--level

<level>

Description: Verbosity level for logging information (default value is info)

 

-t

--timeout

<value in seconds>

Description:  Maximum wait time for receiving configuration from Dr.Web Agent

 

 

--component

<name>

Description: Set the name to be used in requests to Dr.Web Agent for configuration information

 

 

--log-name

<name>

Description:  Component name under which it performs logging

 

 

--check-only

 

Description: Start the component in the configuration check mode. To provide correct operation, Dr.Web Agent must be previously started. If the configuration test is successful, the following message is output to the console: Options OK. If the configuration test failed, the following message is output: Options ERROR.

Example:

drweb-nss -t 30 local:/var/drweb/ipc/.agent

This command starts the NSS Daemon component with 30 seconds time-out for receiving configuration from Dr.Web Agent via the local:/var/drweb/ipc/.agent socket.