Is it possible to get the child process id from parent process id in shell script?
I have a file to execute using shell script, which leads to a new process
To get the child process and thread, pstree -p PID. It also show the hierarchical tree
pstree -p PID