get_hostname

Purpose:

Retrieve the hostname associated with a specified cell name and store it in a specified CyFlex string variable. If the variable does not exist, it will be created.

Enter:

get_hostname <cell_name> <string_var>

Where:

cell_name

Specify the cell name for where to retrieve the hostname

string_var

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

Example:

get_hostname 214 my_string
The above command finds the hostname for cell name 214 and stores it into the variable my_string. 

Notes:

The program uses the /data/cell_map file for hostname lookup and initializes for authentication support.

See Also: