How to determine the number of concurrent connection/users on Informix server?
Question
How to determine the number of concurrent users/sessions on Informix server?
Answer
Run this SQL command:
select sh_curmaxcons, sh_ovlmaxcons from sysmaster:sysshmvals;
sh_curmaxcons - updated as new connections are made, reset after a bounce. This means that the value will reset for each shut down and start up of the server.
sh_ovlmaxcons - updated at each checkpoint, persists over bounces, and upgrades. The ovlmaxcons value is initialized the first time you INSTALL the server. Thereafter, the maximum # of connections is recorded in the sysmaster database. Even after an upgrade from 9.4 to 10.0, that value will not be reset or lost.
http://www-01.ibm.com/support/docview.wss?uid=swg21440286
https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14696424
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14697676