strace-analyzer

Build Status

Analyzes strace output.

Table of Contents

Usage

Create logs:

bash strace -s 0 -ff -o cmd.strace cmd

Analyze logs, with xxx being the first process ID, the analysis will follow forked processes automatically:

bash strace-analyzer cmd.strace.xxx

Note: Does only work with traces created with the usage example above. There is no support for logs that contain output of multiple process IDs and the timed output variants are supported neither. The above-mentioned strace command line yields the shortest output and allows tracing the forked processes without too much effort.

Issues, Features, Use-Cases, Wish List

Features that will not be implemented

In the spirit of the Unix philosohpy of do one thing and do it well, strace-analyzer will not do any of the following:

Installation

Arch Linux

Install the strace-analyzer AUR package:

bash pacaur -S strace-analyzer

cargo install

bash cargo install strace-analyzer

from source

bash git clone https://github.com/wookietreiber/strace-analyzer.git cd strace-analyzer cargo build --release install -Dm755 target/release/strace-analyzer ~/bin/strace-analyzer