qmetrics.net

strace

Linux userspace syscall tracing utility

strace is a diagnostic and debugging utility for Linux with a command-line interface. It watches how processes interact with the kernel.

Overview

strace is a userspace utility for Linux that helps with diagnosis, debugging, and instruction about process behavior. It uses a traditional command-line interface and relies on the kernel ptrace feature to operate.

It monitors interactions between processes and the Linux kernel. Those interactions include system calls, delivery of signals, and changes in process state. The tool can also interfere with those interactions when used for deeper investigation.

Packages are distributed downstream for installation on Linux systems. A user manual is available as documentation for day-to-day use after installation.

Compared with simply reading source code, strace shows live kernel-facing behavior from running programs, which makes it suited to understanding what a process is actually doing on a system.

Key features

  • Monitors system calls
  • Tracks signal delivery
  • Observes process state changes
  • Command-line interface
  • Uses kernel ptrace
  • Can tamper with interactions
  • Diagnostic and debugging focus
  • Instructional tracing use

Use cases

  • Debugging process-kernel behavior
  • Tracing system calls
  • Teaching how syscalls work
  • Diagnosing misbehaving processes

Similar software

arthas

Live Java application diagnostic shell

Arthas attaches to running JVM processes so developers can inspect classes, trace methods, and watch traffic without restarting apps or redeploying code. It supports interactive CLI, telnet, websocket, and browser console access.

★ 37.6k⟳ 4 days agoApache-2.0

py-spy

Low-overhead sampling profiler for live Python programs

py-spy attaches to a running CPython process or launches one, sampling stacks without code changes and reporting via top, dump, or recorded flame graphs.

★ 15.7k⟳ 8 days agoMIT

Memray

Python memory profiler with native code allocation tracing

Memray records memory allocations in Python code, extension modules, and the interpreter, then produces reports such as flame graphs from CLI or library use.

★ 15.4k⟳ yesterdayApache-2.0

PromQL Parser

Rust lexer and parser for Prometheus PromQL queries

PromQL Parser is a Rust crate that lexes and parses PromQL expressions aligned with Prometheus query syntax. It targets embedders building tooling around Prometheus metrics queries.

★ 105⟳ 1 month agoApache-2.0

REA

MCP and CLI reverse-engineering toolkit for agents

REA connects coding agents and terminals to local analysis tools for binaries, Electron apps, websites, .NET, and Android targets. Setup registers MCP access and investigation skills via npm.

★ 480.8k⟳ todayMIT

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0