Oninit Logo
The Down System Specialists
+1-913-674-0360
+44-2081-337529
Partnerships Contact
Onstat -a -b/-B -C -c -d/-D -F -f -G -h -i -j -k/-K -L -l -m -o -P -p -R -r -s -t/-T -u -X -x -z

onstat -g cfg Current Values of Configuration Parameters

The onstat -g cfg command displays information current values of configuration parameters

Option Description
onstat -g cfg Displays a list of configuration parameters and their current values.
onstat -g cfg config_parameter_name Displays only the current value of the specified configuration parameter.
onstat -g cfg full Displays all of the information about each configuration parameter, including the current value, the default value, the onconfig file value, and a description of the parameter.
onstat -g cfg full config_parameter_name Displays all of the information about the specified parameter.
onstat -g cfg diff Displays information about the configuration parameters with current values that are different from the permanent values that are in the onconfig file.
onstat -g cfg tunable Displays the default, original, and current values for all tunable parameters. An asterisk indicates that you can tune a configuration parameter dynamically.
onstat -g cfg msg Displays any messages, such as warnings or adjustments, that are associated with configuration parameters.

Output Description

Option Description
name Name of the configuration parameter
type Data type for the value
units Units in which the value is expressed
rsvd Indicates (with an asterisk) that the configuration parameter and its value are stored on the configuration reserved page If an asterisk is not present, the configuration parameter and its value are not stored on the configuration reserved page.
tunable Indicates (with an asterisk) that the configuration parameter can be tuned dynamically, for example, with an onmode -wm or -wf command If an asterisk is not present, the configuration parameter cannot be tuned dynamically.
min/max Minimum and maximum values for the configuration parameter
default Default value that is built into the server for the configuration parameter
onconfig Value of the configuration parameter, if any, that is in the onconfig.std file
current Current value of the configuration parameter A current value is different if it was modified dynamically, for example, with an onmode -wm command.
Description Description of the configuration parameter
message Message that identifies a changed configuration parameter value

Notes

    While onstat -c will show the values from the ONCONFIG file. But those values might not be the current values, i.e. ones change via an onmode -wm command.

    [informix@theoden ~]$ onstat -c | egrep ^STATCHANGE
    STATCHANGE 10
    
    [informix@theoden ~]$ onstat -g cfg STATCHANGE
    
    IBM Informix Dynamic Server Version 14.10.FC5X3 -- On-Line -- Up 12 days 01:49:38 -- 12405464 Kbytes
    
    name                      current value
    STATCHANGE                13
    
    
    [informix@theoden ~]$ onstat -g cfg diff
    
    IBM Informix Dynamic Server Version 14.10.FC5X3-- On-Line -- Up 12 days 01:49:50 -- 12405464 Kbytes
    
    id   name                      type   maxlen   units   rsvd  tunable
    244  STATCHANGE                INT4   12       %             *
    
         onconfig: 10
         current : 13
    

To discuss how Oninit ® can assist please call on +1-913-674-0360 or alternatively just send an email specifying your requirements.