Stm-admin: Difference between revisions

From PMFLib Wiki
Jump to navigation Jump to search
(Created page with "Navigation: Documentation / Methods / String Method / STM:Utilities / stm-admin ---- {{STMUtils}} '''Name''' stm-admin '''Synopsis''' <span style="color...")
(No difference)

Revision as of 10:36, 5 April 2016

Navigation: Documentation / Methods / String Method / STM:Utilities / stm-admin


STM Utilities

Name

stm-admin

Synopsis

stm-admin [OPTIONS] [--] stm://server[:port]/command

Description

The utility that controls the behaviour and state of the server implementing the string method.

Arguments

stm://server[:port]/command

It provides the action specification. The server is either the DNS name or IP address of the server or word 'serverkey'. In the later case, the information about the server is read from the server key file. The port number, on which the server is listen, may be optionally provided. Finally, the command is administration task, which can be one of the following:

info print information about registered clients
flush save the accumulated STM path on the server side
get?file=output.path get the accumulated STM path and save it locally to the file output.path
shutdown stop server execution
errors prints errors from the server stack

Options

-s, --serverkey FILE
Name of file containing the server key. The server key contains the server name, port, and password. This option is mutually exclusive with 'password' option.
(Default: )
-p, --password FILE
Name of file containing the server magic word. If the pasword is not provided via this option or via the server key then it is read interactively from the keyboard. This option is mutually exclusive with 'serverkey' option.
(Default: )
-v, --verbose
Increase output verbosity.
--version
Output version information and exit.
-h, --help
Display this help and exit.