start_udpmon_resp(1)

NAME

start_udpmon_resp - Start the udpmon_resp server from the UDPmon package

SYNOPSIS

start_udpmon_resp  [Option [...]]

DESCRIPTION

The script start_udpmon_resp starts the udpmon_resp program in daemon mode from the UDPmon package written by R.E. Hughes-Jones, the University of Manchester.

The udpmon_resp server is not started when it is already running as a process of the current user, with the same socket sizes as requested for this run (option -socket_size). This implies that for each used receive / send socket sizes a separate server listening at an unique port will be used. However, when there are multiple servers, running with the same socket sizes, these are killed and a new one is started at the default port.

The resource file

$HOME/.udpmon_resprc

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

Resource information will be stored in the directory structure

$HOME/.udpmon_resp/HostBasename/SocketSize

This is required to allow more servers at hosts which do share the filesystem and/or different socket sizes will be used by different monitors.

If the server port is already used, the server is restarted at a different port. After the server is started successfully, the port ID is echoed.

Note because the UDPmon package uses the Pentium CPU cycle counter, this package only works at Linux hosts from this architecture. When used at other architectures, this script exits with a diagnostic message to Standard Error.

OPTIONS

The following options may be specified:

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

-socket_size SocketSize [bytes]
Specify the receive / send / buffer socket sizes. The default is: 65535 [bytes].

-Port_Intv PortIntvMin PortIntvMax
Use only ports from the specified interval. The maximum # retries to start the udpmon_resp server 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/.udpmon_resprc
The resource options file.

$HOME/.udpmon_resp/HostBasename/SocketSize
The resource directory used by this script.

DOCUMENTATION

http://www.hep.man.ac.uk/~rich/net/
This URL contains information about the UDPmon package, used in this script.

SEE ALSO

start_netserver(1)