Trajectory-client: Difference between revisions

From CATs Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
Navigation: [[Documentation]] / [[Commands]] / [[trajectory-client]]
Navigation: [[Documentation]] / [[Commands]] / [[trajectory-client]]
----
----
<div style="text-align: center">trajectory-client: version 2.203.4878adb(2018-07-03 23:15) [CATs - Conversion And Analysis Tools]</div>'''Name'''
<div style="text-align: center">trajectory-client: version 2.204.c62bd73(2018-07-04 10:11) [CATs - Conversion And Analysis Tools]</div>'''Name'''


<span style="margin-left: 15px;">trajectory-client</span>
<span style="margin-left: 15px;">trajectory-client</span>
Line 18: Line 18:
{| style="margin-left: 2em; width: 95%;"
{| style="margin-left: 2em; width: 95%;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
| <span style="color: purple;">trj://server[:port]/command</span><br/><div style="margin-left: 30px;">specifies fully qualified administration request. Trasport protocol cats:// has to be always specified. It is followed by server parameter which could be either DNS name or IP address of server. Optional port parameter is port number used in a communication. Finally, the command is a task, which can be one of the following:<br /><span></span>  register  = register client on server side<br /><span></span>  unregister = unregister client on server side (unregister?id=client_id)<br /><span></span>  getcrd    = get coordinate snapshot (getcrd?id=client_id,topology=file1.top,coords=file2.crd)<br /><span></span>  getvel    = get velocities (getvel?id=client_id,topology=file1.top,coords=file2.crd)<br /><span></span>  info      = prints information about registered clients<br /><span></span>  shutdown  = stops server execution<br /><span></span>  errors    = prints errors from server stack<br /></div>
| <span style="color: purple;">trj://server[:port]/command</span><br/><div style="margin-left: 30px;">specifies fully qualified administration request. The trasport protocol trj:// has to be always specified. It is followed by a server parameter, which could be either DNS name or IP address of server. Optional port parameter is port number used in a communication. Finally, the command is a task, which can be one of the following:<br /><span></span>  <span style="color: green;">register</span>   = register client on server side<br /><span></span>  <span style="color: green;">unregister</span> = unregister client on server side (unregister?id=client_id)<br /><span></span>  <span style="color: green;">getcrd</span>     = get coordinate snapshot (getcrd?id=client_id,topology=file1.top,coords=file2.crd)<br /><span></span>  <span style="color: green;">getvel</span>     = get velocities (getvel?id=client_id,topology=file1.top,coords=file2.crd)<br /><span></span>  <span style="color: green;">info</span>       = prints information about registered clients<br /><span></span>  <span style="color: green;">shutdown</span>   = stops server execution<br /><span></span>  <span style="color: green;">errors</span>     = prints errors from server stack</div>
|}
|}



Revision as of 09:20, 4 July 2018

Navigation: Documentation / Commands / trajectory-client


trajectory-client: version 2.204.c62bd73(2018-07-04 10:11) [CATs - Conversion And Analysis Tools]

Name

trajectory-client

Synopsis

trajectory-client [OPTIONS] [--] trj://server[:port]/command

Description

This program interacts with a trajectory server.

Arguments

trj://server[:port]/command
specifies fully qualified administration request. The trasport protocol trj:// has to be always specified. It is followed by a server parameter, which could be either DNS name or IP address of server. Optional port parameter is 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
unregister = unregister client on server side (unregister?id=client_id)
getcrd = get coordinate snapshot (getcrd?id=client_id,topology=file1.top,coords=file2.crd)
getvel = get velocities (getvel?id=client_id,topology=file1.top,coords=file2.crd)
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
-v, --verbose
increase output verbosity
--version
output version information and exit
-h, --help
display this help and exit