Universal Messaging 10.3 | Administration Guide | Using Command Central to Manage Universal Messaging | Universal Messaging and the Command Line Interface | Durable Subscribers Monitoring Commands
 
Durable Subscribers Monitoring Commands
You can monitor durable subscribers using the following commands:
*View the list of administration namespaces using the cc get administration component node_alias Universal-Messaging-umserver command.
*Retrieve information about the options available for monitoring durable subscribers using thecc get administration component node_alias Universal-Messaging-umserver durablesubscribers command.
*Retrieve the list of durable subscribers of an Universal Messaging server instance using:
sagcc get administration component node_alias Universal-Messaging-umserver durablesubscribers list -f xml command for XML format.
sagcc get administration component node_alias Universal-Messaging-umserver durablesubscribers list -f tsv command for TSV format.
sagcc get administration component node_alias Universal-Messaging-umserver durablesubscribers list -f csv command for CSV format.
*Retrieve the attributes of a specific durable subscriber using:
sagcc get administration component node_alias Universal-Messaging-umserver durablesubscribers details channel=channel_name name=durable subscriber name -f xml command for XML format.
sagcc get administration component node_alias Universal-Messaging-umserver durablesubscribers details channel=channel_name name=durable subscriber name -f TSV command for TSV format.
sagcc get administration component node_alias Universal-Messaging-umserver durablesubscribers details channel=channel_name name=durable subscriber name -f CSV command for CSV format.
*Retrieve specific attributes of the durable subscribers using the cc get administration component node_alias Universal-Messaging-umserver durablesubscribers list -f tsv or csv properties=comma separated attribute list command.
*Retrieve the list of events for a durable subscriber using the cc get administration component node_alias Universal-Messaging-umserver durablesubscribers getDurableEvents durableName=durable name chanName=channel name
*Purge a specified range of events using the cc get administration component node_alias Universal-Messaging-umserver durablesubscribers purgeStartEndID startEID=start event ID endEID=end event ID durableName=durable subscriber name chanName=channel_name
*Purge all events using the cc get administration component node_alias Universal-Messaging-umserver durablesubscribers purgeAll durableName=durable subscriber name chanName=channel_name command.
*Purge events by filtering events using the cc get administration component node_alias Universal-Messaging-umserver durablesubscribers purgeFilter durableName=durable subscriber name chanName=channel_name filter=the filter expression command.
*Delete a durable subscriber using the sagcc exec administration component node_alias Universal-Messaging-umserver durablesubscribers delete channel=channel_name name=durable subscriber name
Examples
*To list all the administration namespaces:
sagcc get administration component sag01 Universal-Messaging-umserver
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running.
*To retrieve information about the options available for monitoring durable subscribers:
sagcc get administration component sag01 Universal-Messaging-umserver
durablesubscribers
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running.
*To retrieve the list of durable subscribers in a Universal Messaging server instance:
XML format
sagcc get administration component sag01 Universal-Messaging-umserver
durablesubscribers list -f xml
TSV format
sagcc get administration component sag01 Universal-Messaging-umserver
durablesubscribers list -f tsv
CSV format
sagcc get administration component sag01 Universal-Messaging-umserver
durablesubscribers list -f csv
*To retrieve attributes of the durable subscribers:
XML format
sagcc get administration component sag01 Universal-Messaging-umserver
durablesubscribers details channel=channelname name=durable_subscriber_name
-f xml
TSV format
sagcc get administration component sag01 Universal-Messaging-umserver
durablesubscribers details channel=channelname name=durable_subscriber_name
-f tsv
CSV format
sagcc get administration component sag01 Universal-Messaging-umserver
durablesubscribers details channel=channelname name=durable_subscriber_name
-f csv
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. channelname is the name of the channel, and durable_subscriber_name is the name of the durable subscriber from which the attributes are to be retrieved.
*To retrieve the attributes specific attributes of a durable subscriber:
sagcc get administration component sag01 Universal-Messaging-umserver
durablesubscribers list -f tsv properties=name,channel,lastEventID,
outStandingEvents
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. name, channel, lastEventID, and outStandingEvents are attribute values to be retrieved.
*To retrieve the list of events for a durable subscriber:
sagcc exec administration component sag01 Universal-Messaging-umserver
durablesubscribers getDurableEvents durableName=durablename
chanName=channelname
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. durablename is the name of the durable subscriber, and channelname is the name of the channel on which the durable subscriber exists.
*To purge a specified range of events:
sagcc exec administration component sag01 Universal-Messaging-umserver
durablesubscribers purgeStartEndID startEID=10 endEID=20
durableName=durablename chanName=channelname
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. startEID is the the start event ID for the range, endEID is the end event ID of the range, durablename is the name of the durable subscriber, and channelname is the name of the channel on which the durable subscriber exists.
*To purge all the events for a durable subscriber:
sagcc exec administration component sag01 Universal-Messaging-umserver
durablesubscribers purgeAll durableName=durablename chanName=channelname
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. durablename is the name of the durable subscriber, and channelname is the name of the channel on which the durable subscriber exists.
*To purge events by filtering events:
sagcc exec administration component sag01 Universal-Messaging-umserver
durablesubscribers purgeFilter durableName=durablename chanName=channelname
filter=size BETWEEN 10.0 AND 12.0
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. durablename is the name of the durable subscriber, and channelname is the name of the channel on which the durable subscriber exists.
*To delete a durable subscriber:
sagcc exec administration component sag01 Universal-Messaging-umserver
durablesubscribers delete channel=channelname name=DS3
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. channelname is the name of the channel on which the durable subscriber exists, and durablename is the name of the durable subscriber.