push_link

Purpose:

Transfer variables from the local CyFlex node to one or more remote CyFlex nodes based on a specification file.

Enter:

push_link  <filename> [name=task_name] [host=hostname] &

Where:

filename

Specify the pathname of the specification file containing the list of nodes and variables to transfer.

name

Optional. Specify the name to register this task with the system. The default is “push_link”.

host

Optional. Specify the IP address or hostname of the remote computer. 

Example:

push_link /specs/em_specs.316 &

The above starts push_link on the local node accessing the CyFlex variable specified in the file em_specs.316.

Notes:

A combined total of 1200 variables may be specified in each file to be transferred to remote nodes.

push_link does not support STRING variables and will not perform units conversion.

This program is normally spawned via the go script. Multiple copies may be spawned if links to different nodes using separate spec files is desired.

The following is an example spec file linking to a node via its IP address or hostname.

# keyword             ip_address          transfer_interval      name_extender(option)
@HOSTNAME    123.45.67.89       1[s]                               A

# target_variable(remote node)    source_variable (this node)
target_label                                        source_label

When the host=hostname option is used on the command line, the ip_address field in the spec file should be replaced with CMD_LINE

# keyword             ip_address         transfer_interval       name_extender (option)
@HOSTNAME     CMD_LINE       1[s]                               A

# target_variable(remote node)    source_variable (this node)  
target_label                                        source_label

See Also:

Internodal Communications Tasks Reference