HomeFreeBSD

ps: add a new option -D to reimplement tree traversal

Description

ps: add a new option -D to reimplement tree traversal

It takes a non-optional parameter string, one of "up", "down", or "both"
that can request tree traversal in the chosen directions. This adds PIDs
from the paths to the selection of PIDs and can be used together with -d
to draw a subset of the process tree.

Differential Revision: https://reviews.freebsd.org/D41231

Details

Provenance
pstefAuthored on Aug 24 2023, 4:29 PM
Differential Revision
D41231: ps: split tree traversal to a separate option
Parents
rGf06e32e9b9e4: Revert "ps: extend the non-standard option -d (tree view) to work with -p"
Branches
Unknown
Tags
Unknown