Repository navigation
Highlights
- Every process at once:
witr allexplains every running process in one run, or only those matching--user,--source,--since,--listening,--parentor--warnings. Read it per process, grouped by source (--summary), as one merged tree (--summary --tree), or as JSON to keep from a cron job or systemd timer. #263 - Where the logs are: the Source section gains a Logs line:
journalctlfor systemd units (user units too), the launchd job's log files orlog show, Event Viewer for Windows services,docker/podman/nerdctl logsfor containers,pm2 logsandsupervisorctl tail. #267 - Cron jobs and process managers: programs run by cron, pm2, supervisord, circus, runit, s6, monit, god or nssm are credited to them instead of systemd or launchd. #268
- launchd jobs on macOS: background processes name the job that runs them, with its plist and log files, instead of "launchd" and a name-mismatch warning. #269
- Process actions on Windows: the interactive view can kill, terminate, pause, resume and renice processes on Windows. #248
- Interactive view on Bubbletea v2: no 5-second pause in terminals that don't answer colour queries, smooth scrolling with fast wheels, touchpads and MobaXterm, and a clean exit when the terminal closes or SSH drops. #270
- GitHub Action: setup-witr installs a verified witr on Linux, macOS and Windows runners, with recipes for a busy port and leftover processes. Release files now carry signed build provenance:
gh attestation verify <file> --repo pranshuparmar/witr. #271 - README and playground in 16 languages.
- Many more fixes, including other users' ports on macOS without sudo, FreeBSD jails and rc.d services, Windows services and containers: see #266.
Upgrade notes
--jsonno longer includes environment variables. The full report carried the environment of the target, its ancestors and its children, which put tokens from your shell into an agent's context. Use--env --jsonfor the target's environment. #261 #262- Building from source needs Go 1.26. #264
--filetakes one path per value: a comma is part of the path. Repeat the flag for several files.- An empty target value is an error:
--pid ""(an unset variable, say) exits 4 instead of being ignored. - JSON leaves out times witr doesn't know (
StartedAt, a container'sCreatedAt) instead of printing0001-01-01T00:00:00Z.
What's Changed
- test(proc): make TestDetectGitInfo hermetic against repos above the temp dir by @CJstate in #245
- build: ship shell completions in deb/rpm/apk packages and the Nix flake by @Self-Perfection in #246
- fix(tui): preserve numeric input in locks search by @chojs23 in #247
- fix(output): escape Unicode line separators in single-line fields by @CJstate in #251
- fix(output): omit leading space when security module is empty by @CJstate in #254
- fix(launchd): balance dict depth after calendar interval by @CJstate in #258
- fix(proc): parse --flag=value in container flag extraction by @CJstate in #259
- fix(output)!: omit environment variables from the full --json report by @mabhub in #262
- fix(target): match exact names inside quoted command-line paths by @CJstate in #260
- feat: v0.4.0 Main PR by @pranshuparmar in #274
New Contributors
- @Self-Perfection made their first contribution in #246
- @mabhub made their first contribution in #262
Full Changelog: v0.3.4...v0.4.0