How utilities attach to shared memory
Database server utilities such as onstat, onmode attach to shared memory.
The onstat, onmode, and ontape utilities
attach to shared memory through one of the following files.
Operating system | File |
---|---|
UNIX™ | $ONEDB_HOME/etc/.infos.servername |
Windows™ | %ONEDB_HOME%\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 ONEDB_SERVER 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.