Build Status crates.io

tracetree

Run a process, ptrace'ing it and all of its children, and print the entire process tree at the end.

Examples

Print a process tree in text format to stdout:

tracetree /bin/bash -c /bin/true

Print a process tree in JSON format to output.json:

tracetree -f json -o output.json /bin/bash -c /bin/true

JSON output can be viewed with this web visualizer.