Show TOC

admin stats, {md | mem | mem_in_use | max_mem_use | mem_details_stats}Locate this document in the navigation structure

Reports information about memory usage.

Syntax
admin {stats | statistics}, {md | mem | mem_in_use | max_mem_use| mem_details_stats}
Parameters
md

Reports Message Delivery statistics associated with the DIST and RSI users.

mem

Reports current memory segment use according to segment size.

mem_in_use

Reports, in bytes, the current memory used.

max_mem_use

Reports, in bytes, the maximum memory used by Replication Server.

mem_details_stats

Reports the memory consumed statistics associated with the object/data-structure at the instant the mem_details_stats command was fired.

Examples
Example 1
Reports, in bytes, the total memory used:
admin stats, mem_in_use
Memory_in_Use
-------------
14215074
Example 2
Reports, in bytes, the maximum memory used:
admin stats, max_mem_use
go
Max_Memory_Use
-------------
26584414
Note

The number in the result should be comparable to the number reported by Oracle Solaris prstat command. Refer to Oracle DocumentationInformation published on non-SAP site for the prstat command information.

Example 3

Reports the amount of memory consumed by an object/data-structure:

admin stats, mem_detail_stats
go
-------------
Object/State   Memory_Consumed     Memory_Consumed_Mb  Max_Memory_Consumed_Mb
 -------------- ------------------- ------------------- ------------------------
 Miscellaneous  274266592           261                 265
 SQM Cache      606459520           578                 578
 CMD Cache      55205888            52                  72
 SQT Cache      285420032           272                 275
 CMD/SQT        60698624            57                  117
 CMD/EXEC       1063936             1                   26
 CMD/DIST       31746048            30                  121
 CMD/DSIS       981015552           935                 935
 CMD/DSIE       857091072           817                 817
Usage
  • Message Delivery statistics are associated with the DIST threads and RSI users.

  • The current memory segment usage according to segment size.

  • The current memory usage in bytes.

  • The maximum memory usage by Replication Server in bytes.

Permissions

Any user may execute this command.