mtagprint
Abstract
Displays information about tagged memory.
Syntax
mtagprint [<specifications>] [<limit>]
| Argument | Type | Description |
|---|---|---|
<specifications> |
string | Types of information to display (see Details). |
<limit> |
integer | Maximum number of memory tags to display. |
Details
The <specifications> argument can be one or a combination of the following:
| Specification | Description |
|---|---|
| C | Displays the tagged memory categories |
| E | Displays the event ID |
| T | Displays tagged memory by the simulation time at which it was allocated |
| M | Displays tagged memory by module |
| O | Displays tagged memory by module ID |
| P | Displays tagged memory by process |
| I | Displays tagged memory by process ID |
To combine multiple specifications, separate them with a semicolon (;).
Any specification can be limited by following it with an equals sign (=) and a regular expression that will be matched against the filtered memory tags. For example, P=tcp will limit display to only those memory objects created by a process whose name contains "tcp".
The output of this command will be sorted according to the order in which the specifications were listed in the command. For example, the output of
mtagprint C;T
will be sorted first by memory category, then by time within each category. You can reverse the sort order (descending instead of ascending) by preceding the specifications with a minus sign (–).
Example
ODB> mtagprint C;T;M=top;P=tcp.* 5
-------------------------------------------------------------------
[quantity][ memory ]
-------------------------------------------------------------------
[ 1][ 8]
Memory Category = Inet Address hash tables
Time = 116.345255452005
Module = top.ACE_Topology.web_server.tpal
Process = tpal_intf_tcp_v3
-------------------------------------------------------------------
[ 1][ 8]
Memory Category = Inet Addresses
Time = 0.000000000000
Module = top.ACE_Topology.database_server.tpal
Process = tpal_intf_tcp_v3
-------------------------------------------------------------------
[ 2][ 16]
Memory Category = Inet Addresses
Time = 0.000000000000
Module = top.ACE_Topology.web_client.tpal
Process = tpal_intf_tcp_v3
-------------------------------------------------------------------
[ 1][ 8]
Memory Category = Inet Addresses
Time = 0.000000000000
Module = top.ACE_Topology.web_server.tpal
Process = tpal_intf_tcp_v3
-------------------------------------------------------------------
[ 1][ 8]
Memory Category = Inet Addresses
Time = 116.407979852005
Module = top.ACE_Topology.database_server.tpal
Process = tpal_intf_tcp_v3
-------------------------------------------------------------------
Total.....................................[ 221][ 14,716]
-------------------------------------------------------------------