next up previous contents
Next: Signal Handling Up: Usage Previous: Java Configuration   Contents


Anetd Invocation

Anetd is started on a network node as a user application. Anetd does not need any special privileges and can be started as described below. By default, Anetd puts itself in the background and redirects its standard output (stdout) and standard error (stderr) to files (as noted in the descriptions of the '-o' and '-e' options). Certain command-line options override corresponding configuration settings, as noted.

ad [-c conf_file] [-p port] [-u start_port] [[-i IP_address] ...]
[-d anetd_dir] [-l log_file] [-o output_file] [-e error_file]
[-v] [-f flag] [-q] [-g] [-a abone_role] [-m abocc_user]
[-k] [-s] [-n] [-w seconds] [-h]

The verbosity flags allow to customize the beginning of each line of output of Anetd:

Eg:

ad.bsd44                  
This is anetd, release RELEASE_1_6_6

ad.bsd44 -f pid                  
[16370] This is anetd, release RELEASE_1_6_6

ad.bsd44 -f pid -f time          
2000-05-15 16:28:30 GMT-07 [16372] main: This is anetd, release RELEASE_1_6_6


next up previous contents
Next: Signal Handling Up: Usage Previous: Java Configuration   Contents
Steven Dawson 2001-08-30