Xonsh xontrib providing three diagnostic commands
for tractor development / hang investigation:
- `pytree <pid|pat>` — psutil-backed proc tree with severity-bucketed
output (zombies > orphans > live), tree-depth markers, zombie-safe
rendering.
- `hung-dump <pid|pat>` — kernel `wchan`/`stack` + `py-spy dump
--locals` per descendant, sudo-cred caching upfront, pgrep fallback
when psutil absent.
- `bindspace-scan [<dir>]` — scan UDS bindspace for orphaned
`<name>@<pid>.sock` files whose binder pid is dead, emit `rm`
one-liner for cleanup.
(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| tractor_diag.xsh | ||