Directory Agent command-line parameters
Directory Agent has a command-line interface that you can use to install, uninstall, start, and stop the agent if necessary. You can also print version and usage information about the agent.
To start Directory Agent in console mode (as an application), open a command prompt and navigate to the bin directory (C:\Program Files\Websense\Web Security\bin or /opt/Websense/bin/, by default) and enter the following:
DAS.exe -c
Directory Agent accepts the following command-line parameters. Note that some parameters can only be used in Microsoft Windows environments.
Parameter | Description |
---|---|
-i | Installs Directory Agent service. Registers itself with the operating system (Windows only). |
-u | Uninstalls Directory Agent service. (Windows only). |
-c | Runs Directory Agent in console mode. |
-r | Runs Directory Agent as daemon or service. |
-s | Stops the Directory Agent service. (Windows only). |
-v | Prints version information about the Directory Agent service. |
-h -? -help <no option> |
Prints usage information about the Directory Agent service. |