Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppidls

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?

Usage

ppidls [FILTER] [OPTIONS]

Run without filters to print a process tree:

ppidls

PPID-Focused Examples

Show processes whose parent process ID is 1:

ppidls filter=ppid:1

Show direct children for every process whose own PPID is 1:

ppidls filter=children-of-ppid:1

Show children of a specific parent PID:

ppidls filter=children-of-pid:1234

Hide parent/context rows when you only want matching processes:

ppidls filter=ppid:1 --no-parent

Show only parent/context rows:

ppidls filter=ppid:1 --only-parent

Filters

filter=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

Options

--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

Install

cargo install --path .

Platform

ppidls reads process data from /proc, so it is currently only intended for Linux systems.

About

ppidls is a small Linux process-listing command focused on PPID relationships.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages