Skip to content

History

sivtr stores captured output in a local SQLite history database with FTS5 search. The history commands are read-oriented: list recent entries, search by keyword, and show a full entry.

Terminal window
sivtr history
sivtr history list
sivtr history list --limit 50

Output includes the entry id, timestamp, command, and a preview of the content.

Terminal window
sivtr history search "panic"
sivtr history search "failed assertion" --limit 10

Search uses the history full-text index. Use the resulting id with history show.

Terminal window
sivtr history show 42

The detail view prints metadata followed by the stored content:

  • id;
  • timestamp;
  • command;
  • source;
  • host;
  • content.

History retention is controlled by config:

[history]
auto_save = true
max_entries = 0

max_entries = 0 means unlimited.