Skip to content

iniContents ​

Command: iniContents
Category: System Admin
Status: Production Ready

Description ​

View the contents of INI configuration files filtered by file name and section. This command queries the M_INIFILE_CONTENTS system view to display specific configuration parameters and their values. Supports wildcard patterns for flexible filtering.

Syntax ​

bash
hana-cli iniContents [file] [section] [options]

Aliases ​

  • ic

Command Diagram ​

Parameters ​

Positional Arguments ​

ParameterTypeDescription
filestringINI file name to filter (supports wildcards, default: *)
sectionstringSection name to filter (supports wildcards, default: *)

Options ​

OptionAliasTypeDefaultDescription
--file-fstring*INI file name (alternative to positional arg)
--section-sstring*Section name (alternative to positional arg)
--limit-lnumber200Maximum number of configuration entries

Connection Parameters ​

OptionAliasTypeDefaultDescription
--admin-abooleanfalseConnect via admin (default-env-admin.json)
--conn-string-Connection filename to override default-env.json

Troubleshooting ​

OptionAliasTypeDefaultDescription
--disableVerbose--quietbooleanfalseDisable verbose output - removes all extra output that is only helpful to human readable interface
--debug-dbooleanfalseDebug hana-cli itself by adding output of LOTS of intermediate details

Examples ​

View All Configuration Contents ​

bash
hana-cli iniContents

Display all INI file contents (limited to 200 entries).

Filter by File Name ​

bash
hana-cli iniContents --file indexserver.ini

Display contents of the indexserver.ini configuration file.

Filter by File and Section ​

bash
hana-cli iniContents --file indexserver.ini --section memorymanager

Display memory manager settings from indexserver.ini.

Using Wildcards ​

bash
hana-cli iniContents --file "*server*.ini" --section "memory*"

Display all memory-related settings from server configuration files.

See the Commands Reference for other commands in this category.

See Also ​