get_hostname

Purpose:

Find the hostname of a specified testcell and place the result into a specified CyFlex string variable. The requested testcell must be in the /data/cell_map file, the variable where the result will be placed is an CyFlex string variable. If the variable does not exist, it will be created.

Enter:

get_hostname <cell_number> <string_var>

Where:

cell_number

Specify the testcell number for the desired hostname.

string_var

Specify the name of the CyFlex string variable where the hostname will be placed.

Example:

get_hostname 214 my_string
The above command finds the hostname for testcell 214 and places it into the variable my_string. In this case, my_string would equal ctcnode170.

Notes:

 

See Also: