Re: onstat
Posted in 2001
At 11:17 01/01/29 -0500, Bogdan Neagu wrote:
Hi Bogdan.
When the meaning of the question is different, I'm sorry.
onstat returns the following.
The server status is expressed as a number
0 Initialisation
1 Quiescent
2 Recovery
3 Backup
4 Shutdown
5 Online
6 Abort
Regards.
>Hi all.
>
>I was told by our DBA that onstat has different exit codes depending on
>the engine's mode (or mood).
>
>So, if I test $result (in C shell) or $? (Bourne / Korn shell), I should
>get a numeric value.
>
>My tests show 1=Quiescent, 5=On-Line.
>
>Does anyone know what these values are ? And yes, I tried to RTFM.
>
>Thanks in advance,
>
>Bogdan Neagu
>
--
Tsutomu Ogiwara
Technical Group & Red Brick Group,
Informix Sales Promotion Dept
ITOCHU TECHNO-SCIENCE Corporation
YASUKUNI KUDAN-MINAMI BLDG., 2-3-14, KUDAN-MINAMI,
CHIYODA-KU TOKYO,1 02-0074 JAPAN
Phone:+81-3-5212-4891 Fax:+81-3-5212-4889
E-mail:Tsutomu.Ogiwara@ctc-g.co.jp / tsutoo@my-deja.com