プロジェクト
概要
straceの出力を可視化して調べるためのターミナルユーザーインターフェース(TUI)です。
開発ツール計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルstrace-tui
A terminal user interface (TUI) for visualizing and exploring strace output.
https://github.com/user-attachments/assets/a190090e-1e30-4692-9a20-5b2315cb7634
Overview
Supported features:
- Parses common strace output and flags (
-tt -k -f -yy -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.
- List every file, pipe and socket touched by the trace, following fds across dup, fork and exec (best with
strace -yy).
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)
Installation
At the moment, the easiest way to install is via Cargo:
cargo install strace-tui
Can also be installed from source:
git clone https://github.com/Rodrigodd/strace-tui.git
cd strace-tui
cargo install --path .
Usage
Parse an existing strace file (TUI)
strace -o trace.txt -tt -k -f -yy -s 1024 ls -la
strace-tui parse trace.txt
Run strace and visualize
strace-tui trace ls -la
License
Licensed 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.
関連プロジェクトを探す
読み込み中…