RE: onstat
Posted in 2001
On Tue, 30 Jan 2001 dr_pablo@my-deja.com wrote:
>> I have seen vendor-supplied scripts, which use the following
>> exit codes from "onstat". I do not know where they are documented.
>
>Here's the URL to the FAQ page containing the info:
>
>http://www.iiug.org/resources/faq/ifaq06.htm#6.33
Head's up to Mr FAQ-man...
That information is correct for IDS 7 and 9; the XPS 8 series of
products have different return codes:
Information supplied by Erik van Veen at Informix in December 1999:
> Ah, I didn't see you were on V8:
>
> #define MODE_INIT 0 /* initialization mode */
> #define MODE_QUIES 1 /* quiescent mode */
> #define MODE_MICRO 2 /* micro kernel mode */
> #define MODE_RECVRY 3 /* fast recovery mode */
> #define MODE_BACKUP 4 /* archive backup mode */
> #define MODE_SHUTDN 5 /* shutting down mode */
> #define MODE_ONLINE 6 /* system on-line */
> #define MODE_ABORT 7 /* system aborting */
>
> And 255 equals -1 (see man pages for wait(2)).
--
Yours,
Jonathan Leffler (Jonathan.Leffler@Informix.com) #include <disclaimer.h>
Guardian of DBD::Informix v1.00.PC1 -- http://www.perl.com/CPAN
"I don't suffer from insanity; I enjoy every minute of it!"
--NAB08158.980968512/atlas.na.informix.com--
ReSent-Date: Wed, 31 Jan 2001 11:23:35 -0800 (PST)
ReSent-From: Jonathan Leffler <jleffler@informix.com>
ReSent-To: Informix NewsGroup <informix-list@iiug.org>
ReSent-Subject: RE: onstat
ReSent-Message-ID: <Pine.GSO.4.32.0101311123350.22428@anubis>
On Tue, 30 Jan 2001 dr_pablo@my-deja.com wrote:
>> I have seen vendor-supplied scripts, which use the following
>> exit codes from "onstat". I do not know where they are documented.
>
>Here's the URL to the FAQ page containing the info:
>
>http://www.iiug.org/resources/faq/ifaq06.htm#6.33
Head's up to Mr FAQ-man...
That information is correct for IDS 7 and 9; the XPS 8 series of
products have different return codes:
Information supplied by Erik van Veen at Informix in December 1999:
> Ah, I didn't see you were on V8:
>
> #define MODE_INIT 0 /* initialization mode */
> #define MODE_QUIES 1 /* quiescent mode */
> #define MODE_MICRO 2 /* micro kernel mode */
> #define MODE_RECVRY 3 /* fast recovery mode */
> #define MODE_BACKUP 4 /* archive backup mode */
> #define MODE_SHUTDN 5 /* shutting down mode */
> #define MODE_ONLINE 6 /* system on-line */
> #define MODE_ABORT 7 /* system aborting */
>
> And 255 equals -1 (see man pages for wait(2)).
--
Yours,
Jonathan Leffler (Jonathan.Leffler@Informix.com) #include <disclaimer.h>
Guardian of DBD::Informix v1.00.PC1 -- http://www.perl.com/CPAN
"I don't suffer from insanity; I enjoy every minute of it!"
--NAB08158.980968512/atlas.na.informix.com--