te_dump

Print the contents of a transaction log file or shared memory table.

All options

NameTypeDescriptionDefault
service_nameStringThe name of this service - used for logging.
keyStringThe unique shared memory key for this instance of MarketGrid
baseportInteger (unsigned)The base port number from which all other port numbers are offset
logStringThe path to a transaction log file to read, if reading from a file.
tableStringThe name of the table to inspect. If used with --log, will cause only StaticUpdate messages for this table to be printed.
recordInteger (signed)(Optional) The index of the record to inspect. If used with --log, will cause only the message at that index of the log to be printed.
fromInteger (signed)Used with --to to specify a range of records to print.
toInteger (signed)Used with --from to specify a range of records to print.
formatOne of DumpFormatThe format in which to print output. For transaction logs, output is always in JSON format. For tables, either TSV or JSON may be selected.1
headers_onlyInteger (unsigned)When examining a transaction log, only print the header of each record.