# How utilities attach to shared memory

Database server utilities such as onstat, onmode, and ontape attach to shared memory.

The onstat, onmode, and ontape utilities attach to shared memory through one of the following files.
Operating system File
UNIX \$INFORMIXDIR/etc/.infos.servername
Windows %INFORMIXDIR%\etc\.infos.servername

The variable servername is the value of the DBSERVERNAME parameter in the onconfig file. The utilities obtain the servername portion of the file name from the INFORMIXSERVER environment variable.

The oninit process reads the onconfig file and creates the file .infos.servername when it starts the database server. The file is removed when the database server terminates.