A terminal user interface (TUI) for visualizing and exploring strace output.
strace-tui.mp4
Supported features:
- Parses common strace output and flags (
-tt -k -f -s 1024) (also provides JSON output of parsed traces). - Color-code syscall by type and error status.
- Allow dynamically filtering and search syscalls.
- Resolve strace stack-trace output (
strace -k) to function names and source lines usingaddr2line. - Visualize multithreaded and multiprocess traces with a graph for forks and clones.
- Search text in syscall arguments and results.
Missing features:
- Filter traces by process or thread ID.
- Copy syscall details to clipboard (specially because the TUI truncates a lot of info).
- Export filtered traces to file.
- Better handle gigantic Rust/C++ symbols (currently truncates middle of the symbol)
At the moment, the easiest way to install is via Cargo:
cargo install strace-tuiCan also be installed from source:
git clone https://github.com/Rodrigodd/strace-tui.git
cd strace-tui
cargo install --path .strace -o trace.txt -tt -k -f -s 1024 ls -la
strace-tui parse trace.txtstrace-tui trace ls -laLicensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.