result-client

From CATs Wiki
Jump to navigation Jump to search

Navigation: Documentation / Commands / result-client


result-client: version 2.231.418d045(2020-03-01 18:49) [CATs - Conversion And Analysis Tools]

Name

result-client

Synopsis

result-client [OPTIONS] [--] res://server[:port]/command

Description

This program interacts with a result server.

Arguments

res://server[:port]/command
specifies fully qualified administration request. Trasport protocol res:// has to be always specified. It is followed by server parameter, which could be either DNS name or IP address of the server. Optional port parameter is a port number used in a communication. Finally, the command is a task, which can be one of the following:
register = register client on server side (register?template=file.tmp)
unregister = unregister client on server side (unregister?id=client_id)
write = write data to server (write?id=client_id,data=file.dat)
getstat = get data statistics (getstat?file=file.stat)
flush = flush accumulated statistics to output server file
info = prints information about registered clients
shutdown = stops server execution
errors = prints errors from server stack

Options

-s, --serverkey FILE
name of file containing server description (name, port, and password) (mutually exclusive with 'password' option)
-p, --password FILE
name of file containing server magic word, if not specified then password is read interactively (mutually exclusive with 'serverkey' option)
-v, --verbose
increase output verbosity
--version
output version information and exit
-h, --help
display this help and exit