Monitor shared-memory segments

Monitor the shared-memory segments to determine the number and size of the segments that the database server creates.

The database server allocates shared-memory segments dynamically, so these numbers can change. If the database server is allocating too many shared-memory segments, you can increase the SHMVIRTSIZE configuration parameter. For more information, see the topics about configuration parameters in the IBM® Informix® Administrator's Reference.

The onstat -g seg command lists information for each shared-memory segment, including the address and size of the segment, and the amount of memory that is free or in use. For an example of onstat -g seg output, see information about the onstat utility in the IBM Informix Administrator's Reference.