Re: Oninit & Instance
Posted in 2000
Neil Truby — — source: Informix-list mailing list archive (1991-1998)
>If I have a process ID of an oninit process (from top), how can I determine
>its instance in multi-instance environment?
A good technique for this is to use links. Suppose you have two instances,
1 and 2. You usually execute oninit from $INFORMIXDIR/bin. If you create
links so:
ln -s $INFORMIXDIR/bin $INFORMIXDIR/1/bin
ln -s $INFORMIXDIR/bin $INFORMIXDIR/2/bin
and start informix from the linked directory, a ps will show you:
/opt/informix/1/bin/oninit or /opt/informix/2/bin/oninit, thus allowing you
to identify which is which.