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]
anetd_conf
)
port
, default 3322)
child_port
, default 8000)
ip_addr
, default INADDR_ANY). This option may be used multiple times to specify a
list of addresses to bind. Each Anetd process in a given ABone configuration
(e.g., set of processes under different accounts) should specify exactly the
same address list in exactly the same order.
anetd_dir
, default ~/anetd
). Use of this option may be helpful
when running multiple Anetd configurations on the same host.
log_file
, default
~/anetd/var/anetd.log.<port>
).
~/anetd.<pid>.out
when running as a daemon,
and to the controlling terminal otherwise. Typically, Anetd writes very
little to stdout.
~/anetd.<pid>.err
when running as a daemon,
and to the controlling terminal otherwise. Anetd writes most of its messages
to stderr.
debug_java
and debug_native
)
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