Jonathan Leffler wrote:
>
> >From: sanjeev sagar <sanjeevsagar@yahoo.com>
> >Date: Wed, 24 Feb 1999 11:49:13 -0800 (PST)
> >
> >onstat -g dis> >
> >will tell you all the instances running on the host.
>
> On my machine, running OnLine 7.24, IDS 7.30, IDS/UDO 9.14, I ran 'onstat
> -g dis' with the environment set to the 9.14 instance, and it said:
>
<SNIP>
>
> The conclusion I draw from this is that at most, "onstat -g dis" displays
> the servers being run from the current INFORMIXDIR -- it clearly does not
> display every OnLine instance on my machine. But my machine setup is not
> all that common.
This is not a valid assumption. If I run this command I see multiple
versions in multiple directories (INFORMIXDIR). MY assumption was that
this info came from /INFORMIXTMP. The INFORMIXDIR values for example are
stored in /INFORMIXTMP/.infxdirs. Instance details can them be found in
the $INFORMIXDIR/etc/.conf* & $INFORMIXDIR/etc/.infos* files.
> Also, just in passing, if I'd had my 5.08 OnLine or the
> 4.12 OnLine running, there wouldn't have been an onstat (use tbstat), and
> the '-g' option would be supported.
UNsupported. Yes, also if my assumption is correct, no version 5 info
would be stored in /INFORMIXTMP either.
Cheers,
--
Mark.
+----------------------------------------------------------+-----------+
|Mark D. Stock - Informix SA http://www.informix.com |//////// /|
|mailto:mdstock@informix.com http://www.informix.com/idn |///// / //|
|http://www.iiug.org +-----------------------------------+//// / ///|
| Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////|
| Fax: +27 838250 2325 |If it's fast, the users keep quiet.|// / /////|
|Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////|
+----------------------+-----------------------------------+-----------+