IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this community and its apps will no longer be available. More details available on our FAQ.
Topic
  • No replies
SystemAdmin
SystemAdmin
228 Posts

Pinned topic I got some confusion from the output of command: onstat -g dis

‏2008-11-10T08:03:57Z |
There are two server status keeping Up with the same server number 0, is there someone known the reason? And how to fix it? The command output listed below:

as% onstat -g dis

Informix Dynamic Server Version 7.31.UD6W5 -- On-Line -- Up 159 days 14:20:57 -- 302544 Kbytes
There are 3 servers found
Server : as
Server Number : 0
Server Type : IDS
Server Status : Up
Server Version: Informix Dynamic Server Version 7.31.UD6W5
Shared Memory : 0xa000000
INFORMIXDIR : /opt/informix
ONCONFIG : /opt/informix/etc/onconfig
SQLHOSTS : /opt/informix/etc/sqlhosts
Host : as

Server : as_online
Server Number : 0
Server Type : IDS
Server Status : Up
Server Version: Informix Dynamic Server Version 7.31.UD6W5
Shared Memory : 0x30000000
INFORMIXDIR : /opt/informix
ONCONFIG : /opt/informix/etc/onconfig
SQLHOSTS : /opt/informix/etc/sqlhosts
Host : as

Server : pat_online
Server Number : 0
Server Type : IDS
Server Status : Down
Server Version: Informix Dynamic Server Version 7.31.UD6W5
Shared Memory : 0x30000000
INFORMIXDIR : /opt/informix
ONCONFIG : /opt/informix/etc/onconfig.pat
SQLHOSTS : /opt/informix/etc/sqlhosts
Host : as