FG
💻 Software

Unix : List children processes for a given pid

Fresh5 days ago
Mar 15, 202614924 views
Confidence Score0%
0%

Problem

What I need is, given a process id, list all his children without any clutter (table header, other columns than the pid) What I have is : Which gives me: Using h allow me to hide the table header. Is there a way to tell ps to not print the part in order to get a list of children process ids separat…

Error Output

ps h --ppid $PID

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Unix : List children processes for a given pid

Low Risk

This should work:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment