![[ Informix Logo ]](/_borders/inflogo1.gif) |
Архив интересных статей по Informix |
How to know the number of Informix Instances
>Lyzander Marantal wrote:
>>
>> Hi everyone!
>>
>> How will I be able to know the number of Informix instances
>> currently running in a particular host?
>
>Onstat -g dis reports on the contents of the file
>/INFORMIXTMP/.infxdirs. This will not report on any early version
>instances in memory. Try also:
>
>ipcs -m | fgrep informix | fgrep 4801
>
>Since even 5.xx and 4.xx allocate shared memory segments and the first
>of these segments is made of a base address that ends with 0x4801 and
>begins with 0x5256 + the SERVERNUM. From this formula you can derive
>which server number belongs to which memory.
>
>If you want to find the oninits that belong to these particular memory
>blocks you can add the -a flag to ipcs and read off the creator pid
>which will be the master oninit for the instance.
>
>Art S. Kagel
| [ Home ] |
Сайт создан при поддержке Украинского
представительства Informix Software Inc. |
Hosted by ANTEC |