On Thu, Sep 01, 2022 at 03:14:40PM +0200, Martin Schröder wrote: > Am Do., 1. Sept. 2022 um 05:38 Uhr schrieb Job Snijders <[email protected]>: > > Some ps(1) implementations have an '-d' ('descendancy') option. Through > > ASCII art parent/child process relationships are grouped and displayed. > > > > Thoughts? > > gnu ps has > > -d Select all processes except session leaders. > > and > > f ASCII art process hierarchy (forest). > > --forest > ASCII art process tree.
GNU ps uses both '-f', '--forest', and '-H' to display process hierarchy. The '-H' option uses indenting (no ASCII art). NetBSD's and FreeBSD's ps(1) use '-d' to display process hierarchy. Kind regards, Job
