RE: Oninit & Instance
Posted in 2000
> >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.
>
Alternatively start each via a wrapper
Paul Watson #
WF Software Ltd # All answers are
Tel: +44 1436 674729 # pure fantasy
Fax: +44 1436 678693 #
www.wfsoftware.com #
The contents of this e-mail are confidential to the ordinary user(s) of the
mail address(es) to which it was sent and may be legally privileged.
If you are not the intended recipient, any disclosure, copying, distribution
or use of it, or any part of it, in any form whatsoever, and any actions
taken or omitted to be taken in reliance on it, is prohibited and may be
unlawful.