Tracexec: TUI for tracing execve and pre-exec behavior

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • tracexec

    A small utility for tracing execve{,at} and pre-exec behavior.

  • Yes, it's a very high priority todo for me: https://github.com/kxxt/tracexec/issues/3. I already reserved space for it(The empty line under title in the TUI). It requires some work because for now the environment panel is just a paragraph of text wrapped in a scrollview.

  • hatrace

    scriptable strace

  • Ah yes, very good!

    More such tools are needed that make common strace tasks more convenient.

    strace is the ultimate debugging tool to dive into almost every problem where a program doesn't do what you want, but its stream based nature and lack of scripting doesn't make all tasks convenient. Most importantly, you can't really "program" with it.

    Some time ago, I started implementing "strace as a library" in Haskell, to get an easy-to-process stream of syscalls/signals as an ADT, so that one can easily build features on top of it, e.g. a tree of fork()ed/execve()'d child processes. That's point "special run modes tailored to specific tasks (e.g. execve tree)" from https://github.com/nh2/hatrace. I haven't gotten as far as I'd like yet, because I'd like to first explicitly support all Linux syscalls, and build the features on top of that afterwards. And some features are not so easy, e.g. reading memory of the traced process (which strace does to do e.g. show what data was `read()`).

    From that experience, I applaud anybody who makes good use of ptrace() -- that man page is not the easiest to read!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • nixpkgs

    Nix Packages collection (by nh2)

  • I packaged your program for Nix [1].

    If possible, have a look at the build, or even better, become co-maintainer if you can!

    If anybody wants to try it, on any Linux distro with `nix` installed:

        NIX_PATH=nixpkgs=https://github.com/nh2/nixpkgs/archive/e5943da391879c12ed8d6477a06805c8de4b27da.tar.gz nix-shell -p tracexec

  • nixpkgs

    Nix Packages collection & NixOS

  • This will drop you into a shell where `tracexec` is installed.

    [1]: https://github.com/NixOS/nixpkgs/pull/310158

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts