start_netserver(1)

NAME

start_netserver - Start the netserver from the Netperf package

SYNOPSIS

start_netserver  [Option [...]]

DESCRIPTION

The script start_netserver start the netserver(8) daemon from the Netperf package. The net server is not started when it is already running as a process of the current user. However, when there are multiple net servers running these are killed and a new one is started at the default port. Note: this is probably not what you want when more than one process will use the net server simultaneously.

The resource file

$HOME/.netserverrc

may contain some options which may also be specified at the command line.

The net server is started in the directory

$HOME/.netserver/HostBasename

This is required to allow more servers at hosts which do share the filesystem. Reason: the netserver(8) programs writes its debug file netperf.debug in the present working directory, or better: it is the intension that you configure netserver(8) in this way.

If the net server port is already used, the server is restarted at a different port. After the server is started successfully, the port ID is echoed. If the net server could not be started -1 is returned.

OPTIONS

The following options may be specified:

{-help, -?}
Print this message and exit.

-Port_Intv PortIntvMin PortIntvMax
Use only ports from the specified interval. The maximum # retries to start netserver(8) is equal to the size of the interval. If a port could not be used the next one will be tried. After the maximum port the minimum one will be selected.

FILES

$HOME/.netserverrc
The resource options file.

$HOME/.netserver_HostBasename
The resource directory used by this script.

$HOME/.netserver_HostBasename/netperf.debug
The netserver(8) debug file.

SEE ALSO

netserver(8), start_udpmon_resp(1)