cre8_script
Purpose:
-
Generate a script file for CyFlex systems by processing an input file and replacing keywords with data from the cell_map file.
Enter:
-
cre8_script <input_file> [cyflex]
Where:
-
input_file
Specify the name of the input file containing the contents to generate the script file.
cyflex
Optional. Specify cyflex to gather hostname information. The default is CyFlex systems.
Example:
-
cre8_script inpt_file.dat
The above command gathers the cell and node numbers of all asset systems within the /data/cell_map file. The cell and node numbers are used to generate a script file containing data read from a file. The script file generated contains information from the inpt_file.dat file and an output file called inpt_file.dat.out will be generated.cre8_script inpt_file.dat cyflex
The above command gathers the hostnames of all cyflex systems within the /data/cell_map file. The hostnames are used to generate a script file containing data read from a file. The script file generated contains information from the inpt_file.dat file and an output file called inpt_file.dat.out will be generated.
Notes:
-
Keywords $CELL, $NODE, and $HOST in the input file will be replaced with data from the cell_map file.
The input file must be in the local directory. The output file will be created as <input_file>.out.