Commit 27470d43 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(Parameters): Documented the default values of "Connection status

	file" and "Connection status temp file".
(Files): Documented db/number.txt and etc/connections.txt.
parent b4e9435f
\input texinfo
@c $Id: lyskomd.texi,v 1.57 2003/01/06 13:10:34 ceder Exp $
@c $Id: lyskomd.texi,v 1.58 2003/01/10 11:18:06 ceder Exp $
@c %**start of header
@setfilename lyskomd.info
@include version.texi
......@@ -403,8 +403,12 @@ installation prefix. Default is @file{cores}.
@itemx Connection status temp file: @var{path}
Where to store a status file that contains information about all
connections. The status is written to the temp file and atomically
renamed to the status file. The format is not yet documented, but
should be easy to understand.
renamed to the status file.
The path is relative to the installation prefix. Defaults are
@file{etc/connections.txt} and @file{etc/connections.tmp}. Both files
must reside on the same file system. @xref{Files}, for information
about the file format.
@item Status file: @var{path}
This file is created by @code{komrunning} to indicate that lyskomd
......@@ -975,6 +979,11 @@ A backup copy of @file{lyskomd-data}. Never, ever delete this file
unless you know what you are doing, or you may lose the entire data
base. Most of the time this is the only complete database file!
@item @var{prefix}/db/number.txt
Information about the highest used text- and conference numbers. In
case of a crash, some objects may be lost. This file ensures that
even if that happens, their numbers will not be reused.
@item @var{prefix}/etc/pid
File with the pid of the lyskom-process.
......@@ -986,6 +995,24 @@ It can be used for detecting memory leaks.
This file contains definitions of the aux-items that the server should
support. It is read by @code{lyskomd} at startup.
@item @var{prefix}/etc/connections.txt
A list of all currently connected clients, maintained by the server.
The data about each client is collected on a single line:
@itemize @bullet
@item The file descriptor
@item The session number
@item The IP address of the client
@item The port number of the client
@end itemize
In the following example, we see that file descriptor 437 is used by
session 330978, and the connection is from 130.236.254.83:3156.
@example
437 330978 130.236.254.83 3156
@end example
@item /etc/nologin
If this file exists, lyskomd will not allow anyone to connect to the
server. This path can be set with the @code{Nologin file} parameter in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment