Return codes on exiting the onstat utility

The onstat utility displays a set of return codes when you exit the utility.

Example

The following lines are an example of the messages and return codes that are displayed when you exit the onstat utility:

GLS failures: -1
Failed to attach shared memory: -1
Failed to attach shared memory when running 'onstat -': 255
All other errors detected by onstat: 1
No errors detected by onstat: 0
Administration mode: 7

Return code values

The following table lists the database server mode that corresponds to the return codes that are displayed when you exit the onstat utility.

Value Explanation
-1 GLS locale initialization failed or Informix® failed to attach to shared memory
0 Initialization mode
1 Quiescent mode
2 Recovery mode
3 Backup mode
4 Shutdown mode
5 Online mode
6 Abort mode
7 User mode
255 Off-Line mode

Copyright© 2019 HCL Technologies Limited