ppidls is a small Linux process-listing command focused on PPID relationships.
It shows processes with their parent process ID, making it easier to answer questions like:
- What is running under this parent PID?
- Which processes share the same PPID?
- What children belong to a matched parent process?
- What parent/context row explains this process?
ppidls [FILTER] [OPTIONS]Run without filters to print a process tree:
ppidlsShow processes whose parent process ID is 1:
ppidls filter=ppid:1Show direct children for every process whose own PPID is 1:
ppidls filter=children-of-ppid:1Show children of a specific parent PID:
ppidls filter=children-of-pid:1234Hide parent/context rows when you only want matching processes:
ppidls filter=ppid:1 --no-parentShow only parent/context rows:
ppidls filter=ppid:1 --only-parentfilter=ppid:<ppid> Match parent process IDs
filter=children-of-ppid:<ppid> Match parent processes by PPID and show their children
filter=pid:<pid> Match a process ID
filter=children-of-pid:<pid> Show direct children of a process ID
filter=name:<regex> Match process names
filter=children-of-name:<regex> Match parent names and show their children
filter=command:<regex> Match command lines
filter=children-of-command:<regex> Match parent command lines and show their children
--no-parent Do not print parent/context rows
--only-parent Only print parent/context rows
--flatten Do not indent child/matched rows
--no-color Disable ANSI highlighting
--color=<sgr> ANSI SGR highlight code, default: 1;33
-h, --help Show help
cargo install --path .ppidls reads process data from /proc, so it is currently only intended for Linux systems.