Search Configuration File Locations Using the get-configuration Command

Purpose, example and output of the CGE get-configuration command.

The get-configuration command determines the locations of CGE configuration files and the effective properties. This command does not communicate with the database. It inspects the user's local environment and provides information to help understand how configuration is being discovered.

The output of this command includes relevant environment variables, the locations searched for configuration, and whether a file was found. If a file was found, the path to that file is also displayed. Finally, all CGE related properties from that file are listed along with their values, as part of the output.

Example: Search Locations of Configuration Files

$ cge-cli get-configuration
/opt/cray/cge/2.5.1183_r6061c0b_fe2.5.0_20160926.144651_1_2016101912/bin/cge-cli: line 8: pushd: .: Permission denied
/opt/cray/cge/2.5.1183_r6061c0b_fe2.5.0_20160926.144651_1_2016101912/bin/cge-cli: line 11: popd: directory stack empty
0 [main] WARN com.cray.cge.cli.CgeCli  - User data hiding is enabled, logs will obscure/omit user data.  Set cge.server.RevealUserDataInLogs=1 in the in-scope cge.properties file to disable this behaviour.
Environment Variables:
 CGE_CONFIG_FILE_NAME=
 CGE_CONFIG_DIR_NAME=
 HOME=/home/crayusr

Searched Locations:
 1 - /opt/cray/cge/2.5.1183_r6061c0b_fe2.5.0_20160926.144651_1_2016101912/bin
 2 - /home/crayusr/.cge

Properties File Found? No


Properties
----------