Diagnostic Utilities
The AMPS distribution provides the following utilities for analyzing and displaying data from the files used by the AMPS server.
Utility
Description
amps-grep
Utility for searching AMPS error and event logs or AMPS journal files.
For error and event logs, the utility is aware of the structure of AMPS messages, and searches message by message rather than line by line.
For journal files, the utility is able to interpret the journal file format and is aware of the structure of AMPS bookmarks and is also able to correlate client names to the hash values in journal files, making it much easier to locate specific messages or the activity of a specific publisher.
amps_journal_dump
Utility for extracting information from the journal files that comprise the AMPS transaction log.
This utility fully supports compressed journal files.
amps_journal_search
Utility for searching for a specific message within the journal files that comprise the AMPS transaction log.
This utility is optimized for locating a specific message by exact bookmark.
For other searches, use amps-grep
.
amps_sow_dump
Utility for extracting information from the file that holds SOW topic data.
amps_sqlite3
Utility for running SQL queries over the SQLite3 database that holds AMPS statistics.
amps_file
Utility for providing file type and version information for AMPS files.
amps_clients_ack_dump
Utility for displaying the contents of the file that contains information on the last message persisted for a given publisher.
amps_queues_ack_dump
Utility for displaying the contents of the file that contains information on the last acknowledged message for a given queue.
ampserr
Utility that provides information about AMPS errors and events.
Last updated