print command reads events from a file and displays them to stdout with various formatting options.
Usage
Arguments
Input file containing stored events.Can be:
- A single file path (e.g.,
events.data) - A range of rotated files (e.g.,
events.data[0-5])
retis.data.Options
Format used when printing events.Options:
multi-line- Detailed multi-line output (default)single-line- Compact single-line output
Print timestamps as UTC instead of monotonic timestamps.
Print link-layer information from packets.
Examples
Output Example
Multi-line format (default)
Single-line format
File Types
The print command automatically detects the file type:- Event files - Raw events from
retis collect - Series files - Sorted events from
retis sort
