cancel
Showing results for 
Search instead for 
Did you mean: 

Precedence of 'double' entries in config file

Former Member
0 Kudos

Within the start up config file, if there are two entries for the same parameter, which one is used, the first in the config file or the second?

For example, if the  -gc is set to one value at the top of the file, but later on (by mistake) it gets set to another value, wwhich is used.

It seems to me it should be the last one. Can any one please comment?

(Note: I am not asking about the situation when using start_iq with a config file, and then after the config file values are specified. I know those will override what's in the config file. I'm asking about the case where there are two (or more) entries for a parameter all within the config file.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Gisung
Advisor
Advisor
0 Kudos

Hi

I have tested with multiple same switch such as -gm in cfg file.

[cfg]

...

-gm 10

-gm 20

-gm 30

...

When IQ is starting, I can see the first one is selected as follows.

>> cat hpita_iqdemo.0072.stderr

=============================================================

IQ server starting with:

     10 connections         (       -gm )

     14 cmd resources       ( -iqgovern )

    139 threads             (     -iqmt )

    512 Kb thread stack size   (   -iqtss  )

  71168 Kb thread memory size ( -iqmt * -iqtss )

      2 IQ number of cpus  ( -iqnumbercpus )

      0 MB maximum size of IQMSG file ( -iqmsgsz )

      0 copies of IQMSG file archives ( -iqmsgnum )

=============================================================

==

Gi-Sung Jang