Turn residency on or off in online mode
To turn residency on or off while the database server is in online mode, use the onmode utility.
To turn on residency immediately for the resident portion of shared memory, run the following command:% onmode -r
To turn off residency immediately for the resident portion of shared memory, run the following command: % onmode -n
These commands do not change the value of the RESIDENT parameter in the onconfig file. That is, this change is not permanent, and residency reverts to the state specified by the RESIDENT parameter the next time that you set up shared memory. On UNIX™, you must be root or user informix to turn residency on or off. On Windows™, you must be a user in the HCL OneDB™ Admin group to turn residency on or off.