当您退出 onstat 实用程序时,该实用程序会显示一个返回码的设置。
以下是当您退出 onstat 实用程序时,显示的返回码和消息的几行示例:
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
下表列出了与退出 onstat 实用程序时显示的返回码相关的服务器方式。
| 值 | 解释 |
|---|---|
| -1 | GLS 本地语言环境初始化失败或 GBase 8s 连接共享内存失败 |
| 0 | 初始化方式 |
| 1 | 静默方式 |
| 2 | 恢复方式 |
| 3 | 备份方式 |
| 4 | 关机方式 |
| 5 | 联机方式 |
| 6 | 中止方式 |
| 7 | 用户方式 |
| 255 | 脱机方式 |