# show topics

    show topics [pattern-name [notemp|static|dynamic] [first=n|next=n|last=n]]

If a pattern-name is not entered, this command shows a list of all topics.

If a pattern-name is entered (for example foo.* or foo.>) this command shows a list of topics that match that pattern. See Wildcards * and > for more information about using wildcards.

You can further refine the list of topics that match the pattern by using one of the following parameters:

- `notemp` — do not show temporary topics
- `static` — show only static topics
- `dynamic` — show only dynamic topics

When a pattern-name is entered, you can also cursor through the list of topics using one of the following commands, where n is whole number:

- `first`=n — show the first n topics
- `next`=n — show the next n topics
- `last`=n — show the next n topics and terminate the cursor

The cursor examines n topics and displays topics that match the pattern-name. Because it does not traverse the full list of topics, the cursor may return zero or fewer than n topics. To find all matching topics, continue to use next until you receive a `Cursor complete` message.

show topics (description of output fields)
Heading | Description
--- | ---
Topic Name | Name of the topic. If the name is prefixed with an asterisk (*), then the topic is temporary or was created dynamically. Properties of dynamic and temporary topics cannot be changed.
SNFGEIBCTM | Prints information on the topic properties in the order: (S)ecure (N)sender_name or sender_name_enforced (F)ailsafe (G)lobal (E)xport (I)mport (B)ridge (C)flowControl (T)race (M)ulticast The characters in the value section show: - Property not present + Property is present, and was set on the topic itself * Property is present, and was inherited from another topic Note that inherited properties cannot be removed.
Subs | Number of current subscriptions on the topic, including durable subscriptions. If this command is performed on an EMS 7.x or earlier server, the count reflects the number of subscribers, not the number of subscriptions.
Durs | Number of durable subscriptions on the topic. If this command is performed on an EMS 7.x or earlier server, the count reflects the number of durable subscribers, not the number of subscriptions.
All Msgs Msgs Size | The total number of messages sent but not yet acknowledged by the consumer. This count includes copies sent to multiple subscribers. To see the count of actual messages (not multiplied by the number of topic subscribers) sent to all destinations, use the show server command. Total size of pending messages
Persistent Msgs Msgs Size | The total number of persistent messages sent but not yet acknowledged by the consumer. Total size of pending persistent messages

For more information, see Destination Properties.

Copyright © Cloud Software Group, Inc. All rights reserved.