start_netserver - Start the netserver from the Netperf package
start_netserver | [Option [...]] |
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
may contain some options which may also be specified at the command line.
The net server is started in the directory
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.
The following options may be specified:
netserver(8), start_udpmon_resp(1)