#strace #linux #executable #trace #monitor #interface #command

app sigma-trace

Monitor Linux executables with an interface easier than strace(1)

4 releases

0.0.3 Oct 20, 2024
0.0.2 Oct 28, 2023
0.0.1 Oct 22, 2023

#239 in Unix APIs

Download history 10/week @ 2024-07-24 18/week @ 2024-09-25 21/week @ 2024-10-02 2/week @ 2024-10-09 121/week @ 2024-10-16 20/week @ 2024-10-23

141 downloads per month

MIT license

100KB
4.5K SLoC

sigma

This repo refers to a "more beautiful" version of strace(1) in Rust.

Trace a command asciicast

Attach a PID asciicast

Install

From Crates.io

cargo install sigma-trace

or build source

git clone https://github.com/boozec/sigma
cd sigma
cargo build --release

Help

Monitor Linux executables with an interface easier than strace(1)

Usage: sigma-trace [OPTIONS]

Options:
  -c, --command <COMMAND>     Command to execute from ptrace
  -p, --attach <ATTACH>       Attach the tracing to an existing process ID. We're using the `-p` short flag because strace uses it
  -f, --filter <FILTER>       Show only defined sys calls. Multi values separated by comma `,`
      --file <FILE_TO_PRINT>  Write the output to a file instead of the standard output
      --no-tui                If defined, it hides the TUI
  -h, --help                  Print help
  -V, --version               Print version

Dependencies

~11–21MB
~313K SLoC