qmetrics.net

witr

CLI and TUI for tracing why processes run

witr screenshot

Witr traces processes, ports, containers, and file locks back to the chain that started them. It outputs a readable report, JSON for scripts, or an interactive terminal dashboard.

Overview

Witr answers whether something on a system is running and why. It targets processes, services, ports, containers, and locked files when the cause spans supervisors, containers, shells, or other layers.

Ordinary tools such as ps, lsof, ss, systemctl, and docker ps show state but leave users to correlate outputs by hand. Witr makes causality explicit: for a given target it reports what is running, how it started, what keeps it alive, and what context it belongs to.

One command can produce a standard report, short or tree views, environment details, warnings-only output, or machine-readable JSON. Exit codes distinguish clean matches, warnings, not found, and other outcomes for use in scripts and automation. Coding agents can rely on --json and documented exit semantics instead of chaining several lookup utilities.

Running without targets or with -i opens an interactive TUI with tabs for processes, ports, containers, and file locks, including ancestry trees, container runtimes across Docker, Podman, Kubernetes tooling, LXC family, and jails, plus optional signals and renice from the UI on Unix.

Installers ship a single static binary for Linux, macOS, FreeBSD, and Windows, with package managers, npm, and manual options. A browser playground offers a guided tutorial on a simulated Linux host without local install.

Key features

  • Trace PID ancestry and startup chain
  • Map ports and services to owning processes
  • Lookup containers across many runtimes
  • Resolve file locks to holding processes
  • JSON output for scripts and agents
  • Interactive TUI with live refresh
  • Meaningful exit codes for automation
  • Shell tab completion for flags

Use cases

  • Debugging ports already in use
  • Incident response on servers
  • Finding what started a stray process
  • Inspecting container provenance
  • Agent-driven system troubleshooting

Tags

Similar software

Uptime Kuma

Self-hosted uptime monitoring with status pages and alerts

Uptime Kuma is a self-hosted monitoring tool for checking whether services stay online. It covers many probe types and can notify you through numerous messaging and email channels.

  • HTTP, TCP, and ping monitors
  • WebSocket and DNS record checks
  • Docker container monitoring
JavaScriptLinux, Windows, DockerDetails →
★ 95.2k⟳ todayMIT
Open Source Alternative to:ChecklyPingdom+1

Netdata

Per-second full-stack infrastructure observability platform

Netdata collects metrics, logs, and traces where they are generated, with per-second resolution, built-in dashboards, alerts, and machine learning anomaly detection on every metric.

  • Per-second metric collection
  • ML anomaly detection per metric
  • OpenTelemetry ingestion
GoLinux, macOS, Windows, DockerDetails →
★ 81.8k⟳ todayGPL-3.0
Open Source Alternative to:AppDynamicsApplication Insights+13

Grafana

Composable observability and data visualization platform

Grafana queries, visualizes, and alerts on metrics, logs, and traces from many backends. Teams build and share dashboards to explore operational data.

  • Flexible visualization panels and plugins
  • Dynamic dashboards with template variables
  • Ad-hoc metrics explore and drilldown
GoDetails →
★ 78.5k⟳ todayAGPL-3.0
Open Source Alternative to:AppDynamicsApplication Insights+8

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

  • Multi-dimensional time series model
  • PromQL query language
  • HTTP pull-based metric collection
GoDockerDetails →
★ 68.2k⟳ todayApache-2.0
Open Source Alternative to:CloudWatchDash0+6

Sentry

Developer error tracking and performance monitoring

Sentry is a debugging platform for detecting, tracing, and fixing application issues. SDKs connect code to error, performance, replay, and related signals in one workflow.

  • Error and exception tracking
  • Application performance monitoring
  • Connected logs, replays, and traces
PythonDetails →
★ 45.9k⟳ todaySource-available

Stats

Free macOS menu bar system monitor

Stats shows CPU, GPU, memory, disk, network, sensors, and battery readings from the macOS menu bar. It runs on Apple Silicon and Intel Macs with customizable modules and widgets.

  • Nine monitoring modules
  • Thirteen menu bar widget styles
  • CPU and GPU load with temperatures
SwiftmacOSDetails →
★ 43.8k⟳ todayMIT
Open Source Alternative to:iStat Menus