cre8_script

Purpose:

Generate a script file containing a line for all nodes within the /data/cell_map file for a specified type of system.

Enter:

cre8_script <data_filename> [type]

Where:

data_filename

Specify the name of the input file containing the contents of the script file to generate. This file should be located within the current directory from where the program is executed.

type

Specify cyflex | asset.
Optionally specify the type of systems the information is to be gathered for. If asset is specified, only cell and node are gathered. If cyflex is specified, only hostname is gathered. Default: asset

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 asset
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:

$CELL, $NODE and $HOST are the keywords within the input file that will be replaced by the cell_number, node_number and hostname read from the cell_map file. The input file of the program must be located within the local directory. The output file of the program will be created within the local directory as data_filename.out.

See Also: