superminkfan commented on code in PR #12349: URL: https://github.com/apache/ignite/pull/12349#discussion_r2377581465
########## docs/_docs/tools/control-script.adoc: ########## @@ -1308,42 +1309,68 @@ control.sh --property list tab:Windows[] [source,shell] ---- -control.bat --property list +control.bat --property list ---- -- -You can set property value with `--property set` command. For example, to enable or disable SQL statistics in cluster use, specify `ON`, `OFF`, or `NO_UPDATE` values: +=== Getting a Property +To view the current value of a property, use: [tabs] -- tab:Unix[] [source,shell] ---- -control.sh --property set --name 'statistics.usage.state' --val 'ON' +control.sh --property get --name <propertyName> ---- tab:Windows[] [source,shell] ---- -control.bat --property set --name 'statistics.usage.state' --val 'ON' +control.bat --property get --name <propertyName> ---- -- -You can also get property value with `--property get` command. For example: +=== Setting a Property +To change a property value, use: [tabs] -- tab:Unix[] [source,shell] ---- -control.sh --property get --name 'statistics.usage.state' +control.sh --property set --name <propertyName> --val <value> ---- tab:Windows[] [source,shell] ---- -control.bat --property get --name 'statistics.usage.state' +control.bat --property set --name <propertyName> --val <value> ---- -- +NOTE: Available values depend on the property. Review Comment: Done. ########## docs/_docs/tools/control-script.adoc: ########## @@ -1294,9 +1294,10 @@ Parameters: == Working with Cluster Properties -The `control.sh|bat` script provides an ability to work with link:SQL/sql-statistics[SQL statistics,window=_blank] functionality. +The control script allows administrators to view and modify cluster-wide properties. -To get the full list of available properties, use the `--property list` command. This command returns the list of all available properties to work with: +=== Listing Properties Review Comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
