Monitor the database server profile to analyze performance and the use of shared-memory resources. The Profile screen maintains cumulative statistics on shared-memory use. To reset these statistics to zero, use the onstat -z option. For a description of all the fields that onstat displays, see information on the onstat utility in the IBM Informix Dynamic Server Administrator's Reference.
You can obtain statistics on latch use and information on specific latches. These statistics provide a measure of the system activity.
You can use the following command-line utilities to monitor shared memory and latches:
Use onstat -s command to obtain latch information.
Execute onstat -p to display statistics on database server activity and waiting latches (in the lchwaits field). For an example of onstat -p output, see information on the onstat utility in the IBM Informix Administrator's Reference.
You can use ISA to obtain information about latches, spin locks, and profiles.
Select Status > Profile. The screen displays shared-memory statistics, as well as the current operating mode, the boot time, the current time, and latches.
Query the sysprofile table to obtain shared-memory statistics. This table contains all of the statistics available in onstat -p output except the ovbuff, usercpu, and syscpu statistics.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]