te_dump
Print the contents of a transaction log file or shared memory table.
All options
| Name | Type | Description | Default |
|---|---|---|---|
| service_name | String | The name of this service - used for logging. | |
| key | String | The unique shared memory key for this instance of MarketGrid | |
| baseport | Integer (unsigned) | The base port number from which all other port numbers are offset | |
| log | String | The path to a transaction log file to read, if reading from a file. | |
| table | String | The name of the table to inspect. If used with --log, will cause only StaticUpdate messages for this table to be printed. | |
| record | Integer (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. | |
| from | Integer (signed) | Used with --to to specify a range of records to print. | |
| to | Integer (signed) | Used with --from to specify a range of records to print. | |
| format | One of DumpFormat | The 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_only | Integer (unsigned) | When examining a transaction log, only print the header of each record. |