EXTRA STEP: Checking for ISM

Unfortunately, before Solaris 8 it isn’t easy to tell whether a shared memory segment is using ISM (described in “Intimate Shared Memory” on page 24). As of Solaris 8, the ipcs utility includes a -i parameter that shows how many shared memory segments have been attached as ISM (the ISMATTCH column), and pmap shows whether a particular process has attached a shared memory segment as ISM (ism will appear immediately before the shmid parameter). For Solaris 7 and earlier Solaris releases, the procedures shown in Figure 21.13 through Figure 21.17 can be used to answer the question.

Figure 21.13 is based on a server running an Oracle database.

Figure 21.13. ps trace of Oracle shadow process
						 UID PID PPID C STIME TTY ...

Get Configuring and Tuning Databases on the Solaris™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.