Where Is Child Process in Linux?
Contents You Can Get the Pids of All Child Processes of a Given Parent Process by Reading the /Proc//Task//Children Entry. This File Contain the Pids of First...
You can get the pids of all child processes of a given parent process
Where is child processes of parent process in Linux?
if you want to see just the first-level children of a given parent process <pid> id look in /proc/<pid>/task/<tid>/children entry. Note that this file contains the pids of first-level child processes. for the whole process tree, do it recursively.
Must Read
What is a child process in Linux?
A child process is a process created by a parent process in operating system using a fork() system call. A child process is created as its parent process’s copy and inherits most of its attributes. … If a child process has no parent process, it was created directly by the kernel.