onstat -g lmm command: Print low memory management information
Use the onstat -g lmm command to display information about automatic low memory management settings and recent activity.
Example output
Output description
- Control Block
- Address of the internal control structure for automatic low memory management
- Memory Limit
- Amount of memory to which the server is attempting to adhere
- Used
- Amount of memory currently used by the server
- Start Threshold
- Value for the automatic low memory management start threshold
- Stop Threshold
- Value for the automatic low memory management stop threshold
- Idle Time
- The amount of time after which automatic low memory management considers a session idle
- Internal Task
- Yes = using HCL OneDB™ procedures
- Task Name
- Name of user-defined procedure
- Low Mem TID
- Address of the automatic low memory management thread
- Task
- Kill = Automatic processes ran and terminated sessions.
- Count
- Number of times that the task ran
- Last Run
- Date and time when the last task ran
- Ses ID
- ID of session that was terminated (with an onmode –z command)
- Username
- User name of the owner of the session
- Hostname
- Name of the host where the session originated
- PID
- Process ID
- Time
- Date and time when the session was terminated
You use the LOW_MEMORY_MGR configuration parameter to enable the automatic low memory management.