laygoxotd is a Solaris and Linux daemon program for the LayGO XOT Server. laygoxotd runs in the background as a daemon. It relies on a LayGO RPC Server on the same machine to provide access to clients running on any platform for which the LayGO RPC API is available.
laygoxotd can either be started at a terminal or automatically by the system when it boots. See the man page on inittab for information on the latter option.
The command-line syntax for laygoxotd is:
laygoxotd [-d <device database>] [-e <error file>] [-l <log file>] [-s <service database>] [-t] [-w <directory>] [ini file]
Command-line options are case sensitive.
|[ -d <device database>]||By default, laygoxotd uses the default device database. The -d option specifies the full path name of the device database to be used instead.|
|[ -e <error file>]||By default, laygoxotd writes errors to /dev/console. The -e option is used to redirect error output to a file.|
|[ -l <log file>]||By default, laygoxotd writes log entries to /dev/console. The -l option is used to redirect log output to a file.|
|[ -s <service database>]||By default, laygoxotd uses the default service database. The -s option specifies the full path name of the device database to be used instead.|
|[ -t ]||By default, laygoxotd runs as a daemon, without a connection to the terminal. When the -t option is used, laygoxotd does not become a daemon, retaining its connection to the terminal.|
|[ -w <directory>]||By default, laygoxotd runs in the current working directory. The -w option is used to set the working directory somewhere else.|
|[ <initialization file> ]||By default, laygoxotd configures the server using the list of XOT sessions given in laygoxotd.ini. If present, the last argument on the command-line specifies the full path name of the initialization file to be used instead.|
The initialization file is a plain text file in which each line gives details of one XOT session. The format for laygoxotd is the same as the initialization file format for laygoxot, the Win32 XOT server.
If laygoxotd is run with the -t command-line option, it retains a connection to the terminal and can be stopped by pressing <Ctrl-C>. Otherwise, enter
# ps -A | grep laygoxotd
to find its process id. Then enter:
# kill -HUP <process id>
to stop the daemon.